#0C192F

Closest named color: Rich Black (#0D1B2A). oklch(21.5% 0.047 260.3), rgb(12, 25, 47).

Aa

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

About this color

#0C192F is a very dark, muted blue. In OKLCH its lightness is 21%, its chroma 0.047 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.014 away. White text reads best on it, at 17.56:1.

Hue familyBlues
Lightnessvery dark (21%)
Chromamuted (0.047)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.19:1
White text17.56:1

Values

HEX#0C192F
RGBrgb(12, 25, 47)
HSLhsl(218, 59%, 12%)
OKLCHoklch(21.5% 0.047 260.3)

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 #0C192F 17.56:1 AAA Lc -106.6 Preferred for body text
Black text on #0C192F 1.19:1 Fails Lc 0.0 Not readable
#0C192F text on white 17.56:1 AAA Lc 104.3 Preferred for body text
#0C192F text on black 1.19: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

    #F3F6FB

    oklch(97.2% 0.007 260.7)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CEDAEE

    oklch(88.5% 0.03 260.7)

  4. Step 300

    300

    #ACC2E6

    oklch(81% 0.056 260.2)

  5. Step 400

    400

    #80A1D9

    oklch(70.6% 0.09 260.7)

  6. Step 500

    500

    #6089CE

    oklch(63% 0.114 260.4)

  7. Step 600

    600

    #4772BB

    oklch(55.6% 0.124 260.4)

  8. Step 700

    700

    #385FA2

    oklch(49.1% 0.117 260.5)

  9. Step 800

    800

    #2F4E83

    oklch(42.7% 0.096 260.5)

  10. Step 900

    900

    #2A4169

    oklch(37.7% 0.075 260.9)

  11. Step 950

    950 (this color)

    #0C192F

    oklch(21.5% 0.047 260.3)

Export this scale for Tailwind in the Tailwind colors tool

#0C192F 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)#0F1B300.009
Deuteranopia (no green cones)#0B182F0.004
Tritanopia (no blue cones)#001E210.041
Achromatopsia (no color)#1919190.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C192F

    #0C192F

    oklch(21.5% 0.047 260.3)

  • #241700

    #241700

    oklch(21.6% 0.045 81.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C192F

    #0C192F

    oklch(21.5% 0.047 260.3)

  • #001D29

    #001D29

    oklch(21.6% 0.042 228.7)

  • #19152D

    #19152D

    oklch(21.4% 0.046 289.5)

Open the analogous palette in the generator

Split complementary

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

  • #0C192F

    #0C192F

    oklch(21.5% 0.047 260.3)

  • #2A1204

    #2A1204

    oklch(21.5% 0.047 50.6)

  • #1B1B00

    #1B1B00

    oklch(21.5% 0.047 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C192F

    #0C192F

    oklch(21.5% 0.047 260.3)

  • #2C0F10

    #2C0F10

    oklch(21.5% 0.048 19.9)

  • #0C1F09

    #0C1F09

    oklch(21.6% 0.048 141)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C192F

    #0C192F

    oklch(21.5% 0.047 260.3)

  • #290F1C

    #290F1C

    oklch(21.4% 0.047 350.6)

  • #241700

    #241700

    oklch(21.6% 0.045 81.1)

  • #002016

    #002016

    oklch(21.6% 0.044 168.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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