#0C223B

Closest named color: Oxford Blue (#1B263B). oklch(24.9% 0.055 253.4), rgb(12, 34, 59).

Aa

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

About this color

#0C223B is a very dark, muted blue. In OKLCH its lightness is 25%, its chroma 0.055 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.025 away. White text reads best on it, at 16.05:1.

Hue familyBlues
Lightnessvery dark (25%)
Chromamuted (0.055)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.30:1
White text16.05:1

Values

HEX#0C223B
RGBrgb(12, 34, 59)
HSLhsl(212, 66%, 14%)
OKLCHoklch(24.9% 0.055 253.4)

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 #0C223B 16.05:1 AAA Lc -105.5 Preferred for body text
Black text on #0C223B 1.30:1 Fails Lc 0.0 Not readable
#0C223B text on white 16.05:1 AAA Lc 102.9 Preferred for body text
#0C223B text on black 1.30: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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C9DBF1

    oklch(88.5% 0.036 253.5)

  4. Step 300

    300

    #A3C4EB

    oklch(81% 0.066 252.8)

  5. Step 400

    400

    #71A4E1

    oklch(70.7% 0.105 253.6)

  6. Step 500

    500

    #498CD8

    oklch(63.1% 0.134 253.2)

  7. Step 600

    600

    #2974C6

    oklch(55.6% 0.147 253.7)

  8. Step 700

    700

    #1B61AB

    oklch(49.1% 0.136 253.6)

  9. Step 800

    800

    #19508A

    oklch(42.8% 0.112 253)

  10. Step 900

    900

    #1C436E

    oklch(37.8% 0.086 253)

  11. Step 950

    950 (this color)

    #0C223B

    oklch(24.9% 0.055 253.4)

Export this scale for Tailwind in the Tailwind colors tool

#0C223B 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)#17243C0.016
Deuteranopia (no green cones)#101F3A0.010
Tritanopia (no blue cones)#00282B0.044
Achromatopsia (no color)#2121210.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C223B

    #0C223B

    oklch(24.9% 0.055 253.4)

  • #301D00

    #301D00

    oklch(24.9% 0.053 74.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C223B

    #0C223B

    oklch(24.9% 0.055 253.4)

  • #002632

    #002632

    oklch(25% 0.047 223.9)

  • #1E1D3B

    #1E1D3B

    oklch(24.9% 0.056 283.1)

Open the analogous palette in the generator

Split complementary

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

  • #0C223B

    #0C223B

    oklch(24.9% 0.055 253.4)

  • #371709

    #371709

    oklch(24.9% 0.056 43.1)

  • #262200

    #262200

    oklch(24.9% 0.052 103)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C223B

    #0C223B

    oklch(24.9% 0.055 253.4)

  • #371519

    #371519

    oklch(24.9% 0.054 14.6)

  • #162709

    #162709

    oklch(24.9% 0.055 133.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C223B

    #0C223B

    oklch(24.9% 0.055 253.4)

  • #331528

    #331528

    oklch(24.8% 0.056 343.2)

  • #301D00

    #301D00

    oklch(24.9% 0.053 74.6)

  • #00291A

    #00291A

    oklch(24.9% 0.053 163.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0C223B 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.