#012145

Closest named color: Oxford Blue (#1B263B). oklch(24.9% 0.077 254), rgb(1, 33, 69).

Aa

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

About this color

#012145 is a very dark, moderately saturated blue. In OKLCH its lightness is 25%, its chroma 0.077 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.041 away. White text reads best on it, at 16.09:1.

Hue familyBlues
Lightnessvery dark (25%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.30:1
White text16.09:1

Values

HEX#012145
RGBrgb(1, 33, 69)
HSLhsl(212, 97%, 14%)
OKLCHoklch(24.9% 0.077 254)

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 #012145 16.09:1 AAA Lc -105.3 Preferred for body text
Black text on #012145 1.30:1 Fails Lc 0.0 Not readable
#012145 text on white 16.09:1 AAA Lc 102.7 Preferred for body text
#012145 text on black 1.30: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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DEEBFC

    oklch(93.5% 0.027 255.1)

  3. Step 200

    200

    #C3DCFB

    oklch(88.6% 0.051 253.9)

  4. Step 300

    300

    #98C4FB

    oklch(80.9% 0.091 254.3)

  5. Step 400

    400

    #5BA3F9

    oklch(70.7% 0.146 254.1)

  6. Step 500

    500

    #1E89F6

    oklch(63.1% 0.187 253.9)

  7. Step 600

    600

    #0072D7

    oklch(55.6% 0.177 254)

  8. Step 700

    700

    #005FB6

    oklch(49% 0.157 254.2)

  9. Step 800

    800

    #004E97

    oklch(42.8% 0.136 254.1)

  10. Step 900

    900

    #00417F

    oklch(37.8% 0.12 253.9)

  11. Step 950

    950 (this color)

    #012145

    oklch(24.9% 0.077 254)

Export this scale for Tailwind in the Tailwind colors tool

#012145 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)#0D24460.017
Deuteranopia (no green cones)#001E440.010
Tritanopia (no blue cones)#002A2F0.058
Achromatopsia (no color)#2121210.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #012145

    #012145

    oklch(24.9% 0.077 254)

  • #301D00

    #301D00

    oklch(24.9% 0.053 74.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #012145

    #012145

    oklch(24.9% 0.077 254)

  • #002632

    #002632

    oklch(25% 0.047 223.9)

  • #1E1A44

    #1E1A44

    oklch(24.9% 0.076 283.7)

Open the analogous palette in the generator

Split complementary

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

  • #012145

    #012145

    oklch(24.9% 0.077 254)

  • #3C1200

    #3C1200

    oklch(24.8% 0.073 43.6)

  • #262200

    #262200

    oklch(24.9% 0.052 103)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #012145

    #012145

    oklch(24.9% 0.077 254)

  • #3F0C16

    #3F0C16

    oklch(25% 0.078 13.7)

  • #122800

    #122800

    oklch(24.9% 0.071 133.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #012145

    #012145

    oklch(24.9% 0.077 254)

  • #390E2A

    #390E2A

    oklch(24.8% 0.077 344.2)

  • #301D00

    #301D00

    oklch(24.9% 0.053 74.6)

  • #00291A

    #00291A

    oklch(24.9% 0.053 163.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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