#012039

Closest named color: Rich Black (#0D1B2A). oklch(23.7% 0.06 246.8), rgb(1, 32, 57).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.060)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.26:1
White text16.57:1

Values

HEX#012039
RGBrgb(1, 32, 57)
HSLhsl(207, 97%, 11%)
OKLCHoklch(23.7% 0.06 246.8)

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 #012039 16.57:1 AAA Lc -105.8 Preferred for body text
Black text on #012039 1.26:1 Fails Lc 0.0 Not readable
#012039 text on white 16.57:1 AAA Lc 103.3 Preferred for body text
#012039 text on black 1.26: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

    #DFECF7

    oklch(93.7% 0.02 243.4)

  3. Step 200

    200

    #C5DCF2

    oklch(88.4% 0.039 247.1)

  4. Step 300

    300

    #9CC6ED

    oklch(81% 0.071 246.8)

  5. Step 400

    400

    #61A7E4

    oklch(70.7% 0.114 246.6)

  6. Step 500

    500

    #2C8FDC

    oklch(63.1% 0.146 246.9)

  7. Step 600

    600

    #0078C3

    oklch(55.7% 0.146 246.8)

  8. Step 700

    700

    #0065A5

    oklch(49.2% 0.128 246.7)

  9. Step 800

    800

    #005288

    oklch(42.7% 0.112 246.9)

  10. Step 900

    900

    #054471

    oklch(37.6% 0.096 247.2)

  11. Step 950

    950 (this color)

    #012039

    oklch(23.7% 0.06 246.8)

Export this scale for Tailwind in the Tailwind colors tool

#012039 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)#14213A0.022
Deuteranopia (no green cones)#0B1C390.016
Tritanopia (no blue cones)#0026290.043
Achromatopsia (no color)#1F1F1F0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #012039

    #012039

    oklch(23.7% 0.06 246.8)

  • #2F1900

    #2F1900

    oklch(23.8% 0.053 67.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #012039

    #012039

    oklch(23.7% 0.06 246.8)

  • #00232B

    #00232B

    oklch(23.6% 0.042 216.3)

  • #181B3A

    #181B3A

    oklch(23.8% 0.059 276.8)

Open the analogous palette in the generator

Split complementary

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

  • #012039

    #012039

    oklch(23.7% 0.06 246.8)

  • #361208

    #361208

    oklch(23.8% 0.061 36.5)

  • #251E00

    #251E00

    oklch(23.6% 0.049 96.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #012039

    #012039

    oklch(23.7% 0.06 246.8)

  • #35101A

    #35101A

    oklch(23.7% 0.06 6.1)

  • #172300

    #172300

    oklch(23.6% 0.06 126.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #012039

    #012039

    oklch(23.7% 0.06 246.8)

  • #301229

    #301229

    oklch(23.8% 0.06 337)

  • #2F1900

    #2F1900

    oklch(23.8% 0.053 67.1)

  • #002613

    #002613

    oklch(23.6% 0.056 156.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #012039 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.