#01041B

Closest named color: Midnight (#03012D). oklch(12.4% 0.054 265.7), rgb(1, 4, 27).

Aa

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

About this color

#01041B is a very dark, muted blue. In OKLCH its lightness is 12%, its chroma 0.054 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.039 away. White text reads best on it, at 20.29:1.

Hue familyBlues
Lightnessvery dark (12%)
Chromamuted (0.054)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.03:1
White text20.29:1

Values

HEX#01041B
RGBrgb(1, 4, 27)
HSLhsl(233, 93%, 5%)
OKLCHoklch(12.4% 0.054 265.7)

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 #01041B 20.29:1 AAA Lc -107.8 Preferred for body text
Black text on #01041B 1.03:1 Fails Lc 0.0 Not readable
#01041B text on white 20.29:1 AAA Lc 105.9 Preferred for body text
#01041B text on black 1.03: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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CED9F2

    oklch(88.5% 0.036 266.7)

  4. Step 300

    300

    #ADC0EB

    oklch(80.8% 0.065 266.3)

  5. Step 400

    400

    #829FE1

    oklch(70.7% 0.103 265.7)

  6. Step 500

    500

    #6386D9

    oklch(63.1% 0.132 265.5)

  7. Step 600

    600

    #4B6EC6

    oklch(55.6% 0.142 265.7)

  8. Step 700

    700

    #3C5BAB

    oklch(49% 0.133 265.8)

  9. Step 800

    800

    #324B8B

    oklch(42.7% 0.11 265.9)

  10. Step 900

    900

    #2C3F6F

    oklch(37.7% 0.086 266.1)

  11. Step 950

    950 (this color)

    #01041B

    oklch(12.4% 0.054 265.7)

Export this scale for Tailwind in the Tailwind colors tool

#01041B 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)#00071C0.014
Deuteranopia (no green cones)#00051B0.006
Tritanopia (no blue cones)#00090D0.043
Achromatopsia (no color)#0606060.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #01041B

    #01041B

    oklch(12.4% 0.054 265.7)

  • #0A0600

    #0A0600

    oklch(12.5% 0.026 90.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #01041B

    #01041B

    oklch(12.4% 0.054 265.7)

  • #00070F

    #00070F

    oklch(12.2% 0.027 238.4)

  • #090218

    #090218

    oklch(12.5% 0.053 297)

Open the analogous palette in the generator

Split complementary

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

  • #01041B

    #01041B

    oklch(12.4% 0.054 265.7)

  • #0F0400

    #0F0400

    oklch(12.6% 0.03 57.4)

  • #060700

    #060700

    oklch(12.3% 0.028 114.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #01041B

    #01041B

    oklch(12.4% 0.054 265.7)

  • #150000

    #150000

    oklch(12.3% 0.05 29.2)

  • #000901

    #000901

    oklch(12.2% 0.036 146.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #01041B

    #01041B

    oklch(12.4% 0.054 265.7)

  • #140007

    #140007

    oklch(12.5% 0.051 355.7)

  • #0A0600

    #0A0600

    oklch(12.5% 0.026 90.1)

  • #000906

    #000906

    oklch(12.5% 0.024 175)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #01041B 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.