#0C243E

Closest named color: Oxford Blue (#1B263B). oklch(25.7% 0.058 252.6), rgb(12, 36, 62).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (26%)
Chromamuted (0.058)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.33:1
White text15.70:1

Values

HEX#0C243E
RGBrgb(12, 36, 62)
HSLhsl(211, 68%, 15%)
OKLCHoklch(25.7% 0.058 252.6)

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 #0C243E 15.70:1 AAA Lc -105.1 Preferred for body text
Black text on #0C243E 1.33:1 Fails Lc 0.0 Not readable
#0C243E text on white 15.70:1 AAA Lc 102.5 Preferred for body text
#0C243E 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C8DBF2

    oklch(88.4% 0.038 253.2)

  4. Step 300

    300

    #A2C4EC

    oklch(80.9% 0.068 252.7)

  5. Step 400

    400

    #6DA4E3

    oklch(70.6% 0.11 252.7)

  6. Step 500

    500

    #448CDB

    oklch(63.1% 0.14 252.7)

  7. Step 600

    600

    #2074C8

    oklch(55.5% 0.151 252.7)

  8. Step 700

    700

    #1061AD

    oklch(49% 0.141 252.6)

  9. Step 800

    800

    #12508C

    oklch(42.7% 0.116 252.2)

  10. Step 900

    900

    #184370

    oklch(37.8% 0.09 252.3)

  11. Step 950

    950 (this color)

    #0C243E

    oklch(25.7% 0.058 252.6)

Export this scale for Tailwind in the Tailwind colors tool

#0C243E 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)#18263F0.017
Deuteranopia (no green cones)#11213D0.010
Tritanopia (no blue cones)#002A2E0.043
Achromatopsia (no color)#2323230.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C243E

    #0C243E

    oklch(25.7% 0.058 252.6)

  • #331E00

    #331E00

    oklch(25.6% 0.055 72.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C243E

    #0C243E

    oklch(25.7% 0.058 252.6)

  • #002834

    #002834

    oklch(25.7% 0.048 223)

  • #1F1F3E

    #1F1F3E

    oklch(25.7% 0.057 281.6)

Open the analogous palette in the generator

Split complementary

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

  • #0C243E

    #0C243E

    oklch(25.7% 0.058 252.6)

  • #3A180A

    #3A180A

    oklch(25.7% 0.059 42)

  • #282400

    #282400

    oklch(25.7% 0.054 103.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C243E

    #0C243E

    oklch(25.7% 0.058 252.6)

  • #3A161B

    #3A161B

    oklch(25.7% 0.057 13.4)

  • #182909

    #182909

    oklch(25.7% 0.058 132.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C243E

    #0C243E

    oklch(25.7% 0.058 252.6)

  • #36172B

    #36172B

    oklch(25.8% 0.058 342.6)

  • #331E00

    #331E00

    oklch(25.6% 0.055 72.3)

  • #002B1B

    #002B1B

    oklch(25.6% 0.055 162.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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