#0C224A

Closest named color: Oxford Blue (#1B263B). oklch(26.1% 0.08 261.2), rgb(12, 34, 74).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (26%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.34:1
White text15.63:1

Values

HEX#0C224A
RGBrgb(12, 34, 74)
HSLhsl(219, 72%, 17%)
OKLCHoklch(26.1% 0.08 261.2)

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 #0C224A 15.63:1 AAA Lc -105.0 Preferred for body text
Black text on #0C224A 1.34:1 Fails Lc 0.0 Not readable
#0C224A text on white 15.63:1 AAA Lc 102.3 Preferred for body text
#0C224A text on black 1.34: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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFD

    oklch(93.7% 0.027 260.3)

  3. Step 200

    200

    #C6DAFD

    oklch(88.5% 0.053 261.7)

  4. Step 300

    300

    #9EC1FE

    oklch(80.8% 0.095 261.3)

  5. Step 400

    400

    #699FFE

    oklch(70.7% 0.151 261)

  6. Step 500

    500

    #4183FC

    oklch(63.1% 0.193 261.3)

  7. Step 600

    600

    #2069EB

    oklch(55.7% 0.209 261.1)

  8. Step 700

    700

    #1356CC

    oklch(49.1% 0.194 261.2)

  9. Step 800

    800

    #1347A5

    oklch(42.6% 0.161 261.2)

  10. Step 900

    900

    #173D83

    oklch(37.7% 0.126 261.3)

  11. Step 950

    950 (this color)

    #0C224A

    oklch(26.1% 0.08 261.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C224A 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)#0B264B0.013
Deuteranopia (no green cones)#0021490.013
Tritanopia (no blue cones)#002C320.064
Achromatopsia (no color)#2323230.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C224A

    #0C224A

    oklch(26.1% 0.08 261.2)

  • #312100

    #312100

    oklch(26.1% 0.054 81.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C224A

    #0C224A

    oklch(26.1% 0.08 261.2)

  • #002839

    #002839

    oklch(26% 0.053 231.9)

  • #251B47

    #251B47

    oklch(26.1% 0.079 290.3)

Open the analogous palette in the generator

Split complementary

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

  • #0C224A

    #0C224A

    oklch(26.1% 0.08 261.2)

  • #3D1800

    #3D1800

    oklch(26% 0.068 50.7)

  • #252600

    #252600

    oklch(25.9% 0.057 111.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C224A

    #0C224A

    oklch(26.1% 0.08 261.2)

  • #430F12

    #430F12

    oklch(26.1% 0.08 21.5)

  • #082D03

    #082D03

    oklch(26.1% 0.08 140.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C224A

    #0C224A

    oklch(26.1% 0.08 261.2)

  • #3F0F29

    #3F0F29

    oklch(26% 0.081 350.7)

  • #312100

    #312100

    oklch(26.1% 0.054 81.9)

  • #002C21

    #002C21

    oklch(26.1% 0.051 171.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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