#012D45

Closest named color: Oxford Blue (#1B263B). oklch(28.3% 0.063 239.1), rgb(1, 45, 69).

Aa

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

About this color

#012D45 is a dark, muted blue. In OKLCH its lightness is 28%, its chroma 0.063 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.032 away. White text reads best on it, at 14.35:1.

Hue familyBlues
Lightnessdark (28%)
Chromamuted (0.063)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.46:1
White text14.35:1

Values

HEX#012D45
RGBrgb(1, 45, 69)
HSLhsl(201, 97%, 14%)
OKLCHoklch(28.3% 0.063 239.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 #012D45 14.35:1 AAA Lc -103.8 Preferred for body text
Black text on #012D45 1.46:1 Fails Lc 0.0 Not readable
#012D45 text on white 14.35:1 AAA Lc 100.8 Preferred for body text
#012D45 text on black 1.46: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

    #F0F7FC

    oklch(97.2% 0.01 238.5)

  2. Step 100

    100

    #DDECF7

    oklch(93.5% 0.022 239.4)

  3. Step 200

    200

    #C1DEF2

    oklch(88.6% 0.041 238.1)

  4. Step 300

    300

    #94C8EC

    oklch(80.9% 0.074 239.1)

  5. Step 400

    400

    #50AAE3

    oklch(70.7% 0.12 239.4)

  6. Step 500

    500

    #0093D5

    oklch(63.1% 0.142 238.9)

  7. Step 600

    600

    #007BB4

    oklch(55.5% 0.126 239.3)

  8. Step 700

    700

    #006898

    oklch(49.2% 0.11 238.7)

  9. Step 800

    800

    #00557E

    oklch(42.8% 0.097 239.2)

  10. Step 900

    900

    #004769

    oklch(37.8% 0.084 238.3)

  11. Step 950

    950 (this color)

    #012D45

    oklch(28.3% 0.063 239.1)

Export this scale for Tailwind in the Tailwind colors tool

#012D45 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)#212D460.032
Deuteranopia (no green cones)#1827450.026
Tritanopia (no blue cones)#0033350.041
Achromatopsia (no color)#2A2A2A0.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #012D45

    #012D45

    oklch(28.3% 0.063 239.1)

  • #402103

    #402103

    oklch(28.4% 0.063 59.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #012D45

    #012D45

    oklch(28.3% 0.063 239.1)

  • #003037

    #003037

    oklch(28.3% 0.049 210)

  • #1D2749

    #1D2749

    oklch(28.3% 0.064 269.6)

Open the analogous palette in the generator

Split complementary

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

  • #012D45

    #012D45

    oklch(28.3% 0.063 239.1)

  • #441C17

    #441C17

    oklch(28.4% 0.063 28.9)

  • #352800

    #352800

    oklch(28.4% 0.058 89.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #012D45

    #012D45

    oklch(28.3% 0.063 239.1)

  • #421B29

    #421B29

    oklch(28.4% 0.063 359.2)

  • #262E03

    #262E03

    oklch(28.4% 0.064 119.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #012D45

    #012D45

    oklch(28.3% 0.063 239.1)

  • #3A1D39

    #3A1D39

    oklch(28.3% 0.063 328.3)

  • #402103

    #402103

    oklch(28.4% 0.063 59.8)

  • #0E3217

    #0E3217

    oklch(28.3% 0.064 148.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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