#0C1234

Closest named color: Navy Blue (#001146). oklch(20.1% 0.067 271.5), rgb(12, 18, 52).

Aa

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

About this color

#0C1234 is a very dark, muted blue. In OKLCH its lightness is 20%, its chroma 0.067 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.039 away. White text reads best on it, at 18.23:1.

Hue familyBlues
Lightnessvery dark (20%)
Chromamuted (0.067)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.15:1
White text18.23:1

Values

HEX#0C1234
RGBrgb(12, 18, 52)
HSLhsl(231, 63%, 13%)
OKLCHoklch(20.1% 0.067 271.5)

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 #0C1234 18.23:1 AAA Lc -106.9 Preferred for body text
Black text on #0C1234 1.15:1 Fails Lc 0.0 Not readable
#0C1234 text on white 18.23:1 AAA Lc 104.8 Preferred for body text
#0C1234 text on black 1.15: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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9FA

    oklch(93.5% 0.024 272.8)

  3. Step 200

    200

    #CED8F7

    oklch(88.4% 0.044 271.3)

  4. Step 300

    300

    #AEBEF5

    oklch(80.9% 0.08 271.9)

  5. Step 400

    400

    #849BF0

    oklch(70.7% 0.127 271.3)

  6. Step 500

    500

    #677FEB

    oklch(63% 0.164 271.6)

  7. Step 600

    600

    #5066D9

    oklch(55.6% 0.177 271.3)

  8. Step 700

    700

    #4254BC

    oklch(49.1% 0.164 271.6)

  9. Step 800

    800

    #364598

    oklch(42.6% 0.136 271.7)

  10. Step 900

    900

    #2E3B79

    oklch(37.6% 0.106 271.5)

  11. Step 950

    950 (this color)

    #0C1234

    oklch(20.1% 0.067 271.5)

Export this scale for Tailwind in the Tailwind colors tool

#0C1234 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)#0017350.021
Deuteranopia (no green cones)#0013330.018
Tritanopia (no blue cones)#001A200.056
Achromatopsia (no color)#1515150.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C1234

    #0C1234

    oklch(20.1% 0.067 271.5)

  • #1D1500

    #1D1500

    oklch(20% 0.041 90.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C1234

    #0C1234

    oklch(20.1% 0.067 271.5)

  • #001829

    #001829

    oklch(20% 0.047 241.2)

  • #1C0C2F

    #1C0C2F

    oklch(20% 0.068 301.6)

Open the analogous palette in the generator

Split complementary

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

  • #0C1234

    #0C1234

    oklch(20.1% 0.067 271.5)

  • #251000

    #251000

    oklch(20% 0.047 60.3)

  • #131900

    #131900

    oklch(20% 0.048 120.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C1234

    #0C1234

    oklch(20.1% 0.067 271.5)

  • #2E0602

    #2E0602

    oklch(20% 0.067 32.3)

  • #001D09

    #001D09

    oklch(20.2% 0.054 151.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C1234

    #0C1234

    oklch(20.1% 0.067 271.5)

  • #2D0514

    #2D0514

    oklch(20.2% 0.068 1.9)

  • #1D1500

    #1D1500

    oklch(20% 0.041 90.8)

  • #001B17

    #001B17

    oklch(19.9% 0.036 181.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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