#012F54

Closest named color: Marine (#042E60). oklch(29.9% 0.081 249), rgb(1, 47, 84).

Aa

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

About this color

#012F54 is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.081 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.023 away. White text reads best on it, at 13.67:1.

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.53:1
White text13.67:1

Values

HEX#012F54
RGBrgb(1, 47, 84)
HSLhsl(207, 98%, 17%)
OKLCHoklch(29.9% 0.081 249)

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 #012F54 13.67:1 AAA Lc -103.0 Preferred for body text
Black text on #012F54 1.53:1 Fails Lc 0.0 Not readable
#012F54 text on white 13.67:1 AAA Lc 99.8 Preferred for body text
#012F54 text on black 1.53: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

    #EFF6FE

    oklch(97% 0.013 251.6)

  2. Step 100

    100

    #DCECFC

    oklch(93.6% 0.028 248.1)

  3. Step 200

    200

    #BFDDFC

    oklch(88.6% 0.054 249.3)

  4. Step 300

    300

    #8FC6FD

    oklch(80.9% 0.097 249.1)

  5. Step 400

    400

    #47A6FC

    oklch(70.8% 0.154 249.1)

  6. Step 500

    500

    #008DED

    oklch(63.1% 0.175 249.1)

  7. Step 600

    600

    #0076C8

    oklch(55.5% 0.154 249.2)

  8. Step 700

    700

    #0063A9

    oklch(49% 0.136 249.1)

  9. Step 800

    800

    #00518C

    oklch(42.7% 0.118 249.2)

  10. Step 900

    900

    #004376

    oklch(37.6% 0.105 249.5)

  11. Step 950

    950 (this color)

    #012F54

    oklch(29.9% 0.081 249)

Export this scale for Tailwind in the Tailwind colors tool

#012F54 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)#1C31550.025
Deuteranopia (no green cones)#0E2A530.016
Tritanopia (no blue cones)#00383D0.058
Achromatopsia (no color)#2E2E2E0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #012F54

    #012F54

    oklch(29.9% 0.081 249)

  • #422600

    #422600

    oklch(29.8% 0.065 68.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #012F54

    #012F54

    oklch(29.9% 0.081 249)

  • #003440

    #003440

    oklch(30% 0.054 218.5)

  • #262755

    #262755

    oklch(29.9% 0.081 279.3)

Open the analogous palette in the generator

Split complementary

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

  • #012F54

    #012F54

    oklch(29.9% 0.081 249)

  • #4E1C0A

    #4E1C0A

    oklch(30% 0.081 39.2)

  • #352E00

    #352E00

    oklch(30% 0.062 100.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #012F54

    #012F54

    oklch(29.9% 0.081 249)

  • #4E1825

    #4E1825

    oklch(29.9% 0.082 8.8)

  • #213500

    #213500

    oklch(30% 0.08 129)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #012F54

    #012F54

    oklch(29.9% 0.081 249)

  • #471A3B

    #471A3B

    oklch(29.9% 0.083 339)

  • #422600

    #422600

    oklch(29.8% 0.065 68.5)

  • #003821

    #003821

    oklch(30% 0.069 159.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #012F54 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.