#012238

Closest named color: Rich Black (#0D1B2A). oklch(24.2% 0.056 242.5), rgb(1, 34, 56).

Aa

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

About this color

#012238 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.056 and its hue 243°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.033 away. White text reads best on it, at 16.31:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.056)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.28:1
White text16.31:1

Values

HEX#012238
RGBrgb(1, 34, 56)
HSLhsl(204, 96%, 11%)
OKLCHoklch(24.2% 0.056 242.5)

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 #012238 16.31:1 AAA Lc -105.6 Preferred for body text
Black text on #012238 1.28:1 Fails Lc 0.0 Not readable
#012238 text on white 16.31:1 AAA Lc 103.0 Preferred for body text
#012238 text on black 1.28: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

    #F0F6FB

    oklch(97% 0.009 242.8)

  2. Step 100

    100

    #DFECF6

    oklch(93.6% 0.019 240.7)

  3. Step 200

    200

    #C5DDF0

    oklch(88.6% 0.037 241.8)

  4. Step 300

    300

    #9BC6E9

    oklch(80.8% 0.067 243.3)

  5. Step 400

    400

    #60A8DE

    oklch(70.6% 0.108 242.7)

  6. Step 500

    500

    #2791D5

    oklch(63.1% 0.137 242.7)

  7. Step 600

    600

    #007ABA

    oklch(55.6% 0.133 242.5)

  8. Step 700

    700

    #00669D

    oklch(49% 0.118 242.7)

  9. Step 800

    800

    #005482

    oklch(42.8% 0.102 242.4)

  10. Step 900

    900

    #02466D

    oklch(37.8% 0.089 242.5)

  11. Step 950

    950 (this color)

    #012238

    oklch(24.2% 0.056 242.5)

Export this scale for Tailwind in the Tailwind colors tool

#012238 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)#1723390.025
Deuteranopia (no green cones)#0F1E380.018
Tritanopia (no blue cones)#00272A0.037
Achromatopsia (no color)#2020200.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #012238

    #012238

    oklch(24.2% 0.056 242.5)

  • #321900

    #321900

    oklch(24.3% 0.055 63)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #012238

    #012238

    oklch(24.2% 0.056 242.5)

  • #00252B

    #00252B

    oklch(24.2% 0.042 210.7)

  • #171D3A

    #171D3A

    oklch(24.2% 0.056 272.8)

Open the analogous palette in the generator

Split complementary

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

  • #012238

    #012238

    oklch(24.2% 0.056 242.5)

  • #36140D

    #36140D

    oklch(24.2% 0.057 33.1)

  • #281F00

    #281F00

    oklch(24.3% 0.05 93.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #012238

    #012238

    oklch(24.2% 0.056 242.5)

  • #35131D

    #35131D

    oklch(24.3% 0.056 3.7)

  • #1B2401

    #1B2401

    oklch(24.3% 0.058 122.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #012238

    #012238

    oklch(24.2% 0.056 242.5)

  • #2F142B

    #2F142B

    oklch(24.1% 0.057 333)

  • #321900

    #321900

    oklch(24.3% 0.055 63)

  • #042712

    #042712

    oklch(24.1% 0.056 153)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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