#012242

Closest named color: Oxford Blue (#1B263B). oklch(24.9% 0.071 251.3), rgb(1, 34, 66).

Aa

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

About this color

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

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

Values

HEX#012242
RGBrgb(1, 34, 66)
HSLhsl(210, 97%, 13%)
OKLCHoklch(24.9% 0.071 251.3)

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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DEEBFA

    oklch(93.5% 0.025 251.9)

  3. Step 200

    200

    #C3DCF8

    oklch(88.5% 0.047 251.3)

  4. Step 300

    300

    #98C5F6

    oklch(80.9% 0.085 251)

  5. Step 400

    400

    #5CA5F2

    oklch(70.8% 0.135 251.4)

  6. Step 500

    500

    #1F8CED

    oklch(63.2% 0.172 251.2)

  7. Step 600

    600

    #0075CE

    oklch(55.7% 0.162 251.1)

  8. Step 700

    700

    #0062AE

    oklch(49.1% 0.143 251.1)

  9. Step 800

    800

    #005090

    oklch(42.7% 0.125 251.1)

  10. Step 900

    900

    #004279

    oklch(37.6% 0.11 251.3)

  11. Step 950

    950 (this color)

    #012242

    oklch(24.9% 0.071 251.3)

Export this scale for Tailwind in the Tailwind colors tool

#012242 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)#1124430.018
Deuteranopia (no green cones)#051F410.010
Tritanopia (no blue cones)#002A2E0.053
Achromatopsia (no color)#2121210.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #012242

    #012242

    oklch(24.9% 0.071 251.3)

  • #311C00

    #311C00

    oklch(24.8% 0.054 70.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #012242

    #012242

    oklch(24.9% 0.071 251.3)

  • #002631

    #002631

    oklch(24.9% 0.046 221.9)

  • #1D1B42

    #1D1B42

    oklch(24.9% 0.072 282.2)

Open the analogous palette in the generator

Split complementary

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

  • #012242

    #012242

    oklch(24.9% 0.071 251.3)

  • #3C1202

    #3C1202

    oklch(24.8% 0.072 41.3)

  • #272200

    #272200

    oklch(25% 0.052 101.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #012242

    #012242

    oklch(24.9% 0.071 251.3)

  • #3C0F19

    #3C0F19

    oklch(24.8% 0.071 10.6)

  • #152800

    #152800

    oklch(25.1% 0.069 131.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #012242

    #012242

    oklch(24.9% 0.071 251.3)

  • #37112B

    #37112B

    oklch(25% 0.071 341.7)

  • #311C00

    #311C00

    oklch(24.8% 0.054 70.9)

  • #002919

    #002919

    oklch(24.8% 0.054 162)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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