#0C1A37

Closest named color: Rich Black (#0D1B2A). oklch(22.4% 0.06 263.1), rgb(12, 26, 55).

Aa

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

About this color

#0C1A37 is a very dark, muted blue. In OKLCH its lightness is 22%, its chroma 0.060 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.027 away. White text reads best on it, at 17.23:1.

Hue familyBlues
Lightnessvery dark (22%)
Chromamuted (0.060)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.21:1
White text17.23:1

Values

HEX#0C1A37
RGBrgb(12, 26, 55)
HSLhsl(220, 64%, 13%)
OKLCHoklch(22.4% 0.06 263.1)

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 #0C1A37 17.23:1 AAA Lc -106.3 Preferred for body text
Black text on #0C1A37 1.21:1 Fails Lc 0.0 Not readable
#0C1A37 text on white 17.23:1 AAA Lc 104.0 Preferred for body text
#0C1A37 text on black 1.21: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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CCDAF4

    oklch(88.6% 0.039 262.9)

  4. Step 300

    300

    #A9C1EF

    oklch(80.9% 0.07 263.3)

  5. Step 400

    400

    #7BA0E7

    oklch(70.7% 0.112 262.8)

  6. Step 500

    500

    #5A86E0

    oklch(63.1% 0.144 263.2)

  7. Step 600

    600

    #406ECE

    oklch(55.6% 0.157 263)

  8. Step 700

    700

    #325BB2

    oklch(49% 0.146 263.1)

  9. Step 800

    800

    #2A4B90

    oklch(42.7% 0.121 263.1)

  10. Step 900

    900

    #263F73

    oklch(37.6% 0.094 263.2)

  11. Step 950

    950 (this color)

    #0C1A37

    oklch(22.4% 0.06 263.1)

Export this scale for Tailwind in the Tailwind colors tool

#0C1A37 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)#0C1D380.010
Deuteranopia (no green cones)#0519360.010
Tritanopia (no blue cones)#0021250.050
Achromatopsia (no color)#1B1B1B0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C1A37

    #0C1A37

    oklch(22.4% 0.06 263.1)

  • #261900

    #261900

    oklch(22.4% 0.046 82.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C1A37

    #0C1A37

    oklch(22.4% 0.06 263.1)

  • #001F2D

    #001F2D

    oklch(22.5% 0.046 231.5)

  • #1D1534

    #1D1534

    oklch(22.4% 0.059 292.9)

Open the analogous palette in the generator

Split complementary

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

  • #0C1A37

    #0C1A37

    oklch(22.4% 0.06 263.1)

  • #2F1200

    #2F1200

    oklch(22.3% 0.057 52.6)

  • #1C1E00

    #1C1E00

    oklch(22.5% 0.05 113.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C1A37

    #0C1A37

    oklch(22.4% 0.06 263.1)

  • #320E0E

    #320E0E

    oklch(22.4% 0.059 23.1)

  • #072207

    #072207

    oklch(22.3% 0.059 143.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C1A37

    #0C1A37

    oklch(22.4% 0.06 263.1)

  • #2F0D1E

    #2F0D1E

    oklch(22.2% 0.06 352)

  • #261900

    #261900

    oklch(22.4% 0.046 82.5)

  • #00221A

    #00221A

    oklch(22.5% 0.043 173.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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