#01041C

Closest named color: Midnight (#03012D). oklch(12.5% 0.056 265.8), rgb(1, 4, 28).

Aa

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

About this color

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

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

Values

HEX#01041C
RGBrgb(1, 4, 28)
HSLhsl(233, 93%, 6%)
OKLCHoklch(12.5% 0.056 265.8)

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 #01041C 20.28:1 AAA Lc -107.7 Preferred for body text
Black text on #01041C 1.03:1 Fails Lc 0.0 Not readable
#01041C text on white 20.28:1 AAA Lc 105.9 Preferred for body text
#01041C 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  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

    #ACC0EC

    oklch(80.8% 0.066 265.8)

  5. Step 400

    400

    #819FE3

    oklch(70.7% 0.106 265.6)

  6. Step 500

    500

    #6285DB

    oklch(63% 0.136 265.9)

  7. Step 600

    600

    #4A6DC9

    oklch(55.6% 0.148 266.1)

  8. Step 700

    700

    #3B5BAE

    oklch(49.1% 0.138 265.7)

  9. Step 800

    800

    #314B8D

    oklch(42.8% 0.114 265.7)

  10. Step 900

    900

    #2B3F70

    oklch(37.7% 0.088 265.7)

  11. Step 950

    950 (this color)

    #01041C

    oklch(12.5% 0.056 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#01041C 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)#00071D0.014
Deuteranopia (no green cones)#00051C0.005
Tritanopia (no blue cones)#00090E0.042
Achromatopsia (no color)#0606060.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #01041C

    #01041C

    oklch(12.5% 0.056 265.8)

  • #0B0600

    #0B0600

    oklch(12.7% 0.026 85.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #01041C

    #01041C

    oklch(12.5% 0.056 265.8)

  • #00080F

    #00080F

    oklch(12.6% 0.026 232.8)

  • #090219

    #090219

    oklch(12.6% 0.054 295.9)

Open the analogous palette in the generator

Split complementary

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

  • #01041C

    #01041C

    oklch(12.5% 0.056 265.8)

  • #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.

  • #01041C

    #01041C

    oklch(12.5% 0.056 265.8)

  • #160000

    #160000

    oklch(12.6% 0.052 29.2)

  • #000A01

    #000A01

    oklch(12.6% 0.038 146.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #01041C

    #01041C

    oklch(12.5% 0.056 265.8)

  • #140007

    #140007

    oklch(12.5% 0.051 355.7)

  • #0B0600

    #0B0600

    oklch(12.7% 0.026 85.9)

  • #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 #01041C, closest first.

Similar named colors

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

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