#0C214B

Closest named color: Oxford Blue (#1B263B). oklch(25.9% 0.083 262.3), rgb(12, 33, 75).

Aa

White text reads best on this color (15.73:1).

About this color

#0C214B is a dark, moderately saturated blue. In OKLCH its lightness is 26%, its chroma 0.083 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.042 away. White text reads best on it, at 15.73:1.

Hue familyBlues
Lightnessdark (26%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.33:1
White text15.73:1

Values

HEX#0C214B
RGBrgb(12, 33, 75)
HSLhsl(220, 72%, 17%)
OKLCHoklch(25.9% 0.083 262.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #0C214B 15.73:1 AAA Lc -105.1 Preferred for body text
Black text on #0C214B 1.33:1 Fails Lc 0.0 Not readable
#0C214B text on white 15.73:1 AAA Lc 102.4 Preferred for body text
#0C214B text on black 1.33:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFD

    oklch(93.5% 0.028 263.4)

  3. Step 200

    200

    #C6DAFE

    oklch(88.5% 0.054 262.2)

  4. Step 300

    300

    #9FC1FF

    oklch(80.9% 0.096 262.2)

  5. Step 400

    400

    #6B9EFF

    oklch(70.7% 0.153 262.2)

  6. Step 500

    500

    #4382FF

    oklch(63.2% 0.197 262.2)

  7. Step 600

    600

    #2366F0

    oklch(55.6% 0.218 262.4)

  8. Step 700

    700

    #1654D1

    oklch(49.2% 0.203 262.2)

  9. Step 800

    800

    #1546A9

    oklch(42.8% 0.168 262.2)

  10. Step 900

    900

    #183C85

    oklch(37.7% 0.13 262.3)

  11. Step 950

    950 (this color)

    #0C214B

    oklch(25.9% 0.083 262.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C214B with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#07264D0.015
Deuteranopia (no green cones)#00204A0.013
Tritanopia (no blue cones)#002B320.065
Achromatopsia (no color)#2323230.083

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #0C214B

    #0C214B

    oklch(25.9% 0.083 262.3)

  • #302100

    #302100

    oklch(25.9% 0.053 83.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C214B

    #0C214B

    oklch(25.9% 0.083 262.3)

  • #002839

    #002839

    oklch(26% 0.053 231.9)

  • #261947

    #261947

    oklch(25.8% 0.082 292.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #0C214B

    #0C214B

    oklch(25.9% 0.083 262.3)

  • #3C1800

    #3C1800

    oklch(25.9% 0.067 51.4)

  • #252600

    #252600

    oklch(25.9% 0.057 111.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C214B

    #0C214B

    oklch(25.9% 0.083 262.3)

  • #440D10

    #440D10

    oklch(26% 0.083 22.4)

  • #042D02

    #042D02

    oklch(25.9% 0.083 141.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C214B

    #0C214B

    oklch(25.9% 0.083 262.3)

  • #3F0E28

    #3F0E28

    oklch(25.9% 0.082 351.6)

  • #302100

    #302100

    oklch(25.9% 0.053 83.5)

  • #002B21

    #002B21

    oklch(25.8% 0.05 172.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #0C214B, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #0C214B in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.