#012D5D

Closest named color: Marine (#042E60). oklch(30.1% 0.097 254.8), rgb(1, 45, 93).

Aa

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

About this color

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

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

Values

HEX#012D5D
RGBrgb(1, 45, 93)
HSLhsl(211, 98%, 18%)
OKLCHoklch(30.1% 0.097 254.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 #012D5D 13.68:1 AAA Lc -102.9 Preferred for body text
Black text on #012D5D 1.53:1 Fails Lc 0.0 Not readable
#012D5D text on white 13.68:1 AAA Lc 99.7 Preferred for body text
#012D5D 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

    #EFF6FF

    oklch(97% 0.014 254.6)

  2. Step 100

    100

    #DCEBFF

    oklch(93.5% 0.032 255.6)

  3. Step 200

    200

    #C0DCFF

    oklch(88.5% 0.057 254.1)

  4. Step 300

    300

    #96C4FF

    oklch(81% 0.097 254.9)

  5. Step 400

    400

    #57A2FF

    oklch(70.6% 0.156 255)

  6. Step 500

    500

    #0E87FF

    oklch(63.1% 0.202 254.9)

  7. Step 600

    600

    #0071DA

    oklch(55.6% 0.182 254.8)

  8. Step 700

    700

    #005FB9

    oklch(49.2% 0.161 254.8)

  9. Step 800

    800

    #004D99

    oklch(42.7% 0.14 255)

  10. Step 900

    900

    #004081

    oklch(37.7% 0.124 254.9)

  11. Step 950

    950 (this color)

    #012D5D

    oklch(30.1% 0.097 254.8)

Export this scale for Tailwind in the Tailwind colors tool

#012D5D 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)#10325F0.021
Deuteranopia (no green cones)#002A5C0.009
Tritanopia (no blue cones)#0039400.073
Achromatopsia (no color)#2D2D2D0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #012D5D

    #012D5D

    oklch(30.1% 0.097 254.8)

  • #402800

    #402800

    oklch(29.9% 0.063 74.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #012D5D

    #012D5D

    oklch(30.1% 0.097 254.8)

  • #003443

    #003443

    oklch(30.2% 0.056 223.6)

  • #2B235C

    #2B235C

    oklch(30.1% 0.098 285.3)

Open the analogous palette in the generator

Split complementary

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

  • #012D5D

    #012D5D

    oklch(30.1% 0.097 254.8)

  • #4F1C00

    #4F1C00

    oklch(30.1% 0.086 45.3)

  • #332F00

    #332F00

    oklch(30% 0.063 104.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #012D5D

    #012D5D

    oklch(30.1% 0.097 254.8)

  • #54121E

    #54121E

    oklch(30.1% 0.096 14.9)

  • #193700

    #193700

    oklch(30.1% 0.087 134.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #012D5D

    #012D5D

    oklch(30.1% 0.097 254.8)

  • #4D1439

    #4D1439

    oklch(30% 0.097 344.6)

  • #402800

    #402800

    oklch(29.9% 0.063 74.4)

  • #003826

    #003826

    oklch(30.2% 0.064 164.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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