Skip to content

Oxford Blue (#002147)

The hex code for Oxford Blue is #002147. It is rgb(0, 33, 71) in RGB, hsl(212, 100%, 14%) in HSL, and about cmyk(100%, 54%, 0%, 72%) in CMYK — a darkest blue. White text is the more readable choice on this background.

#002147
HEX#002147
RGBrgb(0, 33, 71)
HSLhsl(212, 100%, 14%)
HSVhsv(212, 100%, 28%)
CMYKcmyk(100%, 54%, 0%, 72%)
OKLCHoklch(25% 0.081 254.4)
LABlab(12.43% 1.92 -27.65)
LCHlch(12.43% 27.71 273.96)

Colors Closest to Oxford Blue

Oxford Blue is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every blue in the library.

#002147 Channel Values

How Oxford Blue breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 0 · G 33 · B 718-bit channels as sent to the display
HSLH 212° · S 100% · L 14%Easiest model for building lighter and darker variants
HSVH 212° · S 100% · V 28%Matches the picker in most design tools
CMYKC 100% · M 54% · Y 0% · K 72%Approximate ink mix; confirm with an ICC profile before printing
Luminance16.05:1 vs white · 1.31:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Oxford Blue background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text16.05:1AA normal AA large AAA normal
Fails AABlack text1.31:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #002147 in the contrast checker.

Colors That Go With Oxford Blue

Pairings derived from color-wheel relationships. The complementary color sits opposite Oxford Blue; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Oxford Blue

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #002147.

How Oxford Blue Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#002147
Protanopia#1D1D47
Protanomaly#151F47
Deuteranopia#1A1A47
Deuteranomaly#121D47
Tritanopia#002828
Tritanomaly#002537
Achromatopsia#212121

Test a full palette in the color blindness simulator.

Using #002147 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--oxford-blue: #002147;
CSS backgroundbackground-color: #002147;
Tailwind configcolors: { 'oxford-blue': '#002147' }
SwiftUIColor(red: 0.000, green: 0.129, blue: 0.278)
Android XML<color name="oxford_blue">#002147</color>
SVG fillfill="#002147"

More Blue Colors

Oxford Blue sits in the blue family. These are its neighbours across that family's full range, each with its own breakdown.

#002147 Frequently Asked Questions

What is the hex code for Oxford Blue?

The hex code for Oxford Blue is #002147. That is rgb(0, 33, 71) in RGB, hsl(212, 100%, 14%) in HSL, and approximately cmyk(100%, 54%, 0%, 72%) in CMYK.

What is the RGB value of #002147?

#002147 is rgb(0, 33, 71) — red 0, green 33, and blue 71 on the 0-255 scale.

What is the CMYK value of #002147?

#002147 converts to approximately cmyk(100%, 54%, 0%, 72%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #002147 be black or white?

White text is the more readable choice. #002147 scores 16.05:1 against white and 1.31:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #002147 as a CSS color keyword?

No. #002147 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is black (#000000) at a CIE76 distance of 30.37, which is a different colour altogether.

Open Oxford Blue in a Tool

Keep exploring: every blue in the color library, the guide to shades of blue, or the full color library.