#0C2038

Closest named color: Rich Black (#0D1B2A). oklch(24.1% 0.053 254.4), rgb(12, 32, 56).

Aa

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

About this color

#0C2038 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.053 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.029 away. White text reads best on it, at 16.41:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.053)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.27:1
White text16.41:1

Values

HEX#0C2038
RGBrgb(12, 32, 56)
HSLhsl(213, 65%, 13%)
OKLCHoklch(24.1% 0.053 254.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 #0C2038 16.41:1 AAA Lc -105.7 Preferred for body text
Black text on #0C2038 1.27:1 Fails Lc 0.0 Not readable
#0C2038 text on white 16.41:1 AAA Lc 103.2 Preferred for body text
#0C2038 text on black 1.27: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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF6

    oklch(93.7% 0.018 253.3)

  3. Step 200

    200

    #CADBF0

    oklch(88.5% 0.034 253.7)

  4. Step 300

    300

    #A5C3E9

    oklch(80.8% 0.063 254.5)

  5. Step 400

    400

    #74A4DE

    oklch(70.8% 0.1 253.7)

  6. Step 500

    500

    #4F8CD5

    oklch(63.2% 0.128 254.1)

  7. Step 600

    600

    #3174C2

    oklch(55.6% 0.139 254.3)

  8. Step 700

    700

    #2361A8

    oklch(49.1% 0.13 254.4)

  9. Step 800

    800

    #1F5088

    oklch(42.8% 0.107 254)

  10. Step 900

    900

    #1F426D

    oklch(37.6% 0.085 254.8)

  11. Step 950

    950 (this color)

    #0C2038

    oklch(24.1% 0.053 254.4)

Export this scale for Tailwind in the Tailwind colors tool

#0C2038 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)#1522390.014
Deuteranopia (no green cones)#0F1D380.010
Tritanopia (no blue cones)#0026290.043
Achromatopsia (no color)#1F1F1F0.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C2038

    #0C2038

    oklch(24.1% 0.053 254.4)

  • #2E1B00

    #2E1B00

    oklch(24.1% 0.051 73.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C2038

    #0C2038

    oklch(24.1% 0.053 254.4)

  • #00242F

    #00242F

    oklch(24.2% 0.045 222.8)

  • #1D1B38

    #1D1B38

    oklch(24.1% 0.054 284.7)

Open the analogous palette in the generator

Split complementary

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

  • #0C2038

    #0C2038

    oklch(24.1% 0.053 254.4)

  • #341608

    #341608

    oklch(24.2% 0.054 44.4)

  • #242000

    #242000

    oklch(24% 0.051 102.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C2038

    #0C2038

    oklch(24.1% 0.053 254.4)

  • #341418

    #341418

    oklch(24.1% 0.052 14)

  • #142509

    #142509

    oklch(24.2% 0.053 134.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C2038

    #0C2038

    oklch(24.1% 0.053 254.4)

  • #311425

    #311425

    oklch(24.1% 0.053 345.7)

  • #2E1B00

    #2E1B00

    oklch(24.1% 0.051 73.2)

  • #002719

    #002719

    oklch(24.1% 0.051 164.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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