#010312

Closest named color: Midnight (#03012D). oklch(10.7% 0.041 266.4), rgb(1, 3, 18).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (11%)
Chromamuted (0.041)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.02:1
White text20.52:1

Values

HEX#010312
RGBrgb(1, 3, 18)
HSLhsl(233, 89%, 4%)
OKLCHoklch(10.7% 0.041 266.4)

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 #010312 20.52:1 AAA Lc -107.8 Preferred for body text
Black text on #010312 1.02:1 Fails Lc 0.0 Not readable
#010312 text on white 20.52:1 AAA Lc 106.0 Preferred for body text
#010312 text on black 1.02: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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #D1D9EC

    oklch(88.5% 0.028 267.5)

  4. Step 300

    300

    #B2C1E1

    oklch(81% 0.048 265.4)

  5. Step 400

    400

    #8AA0D2

    oklch(70.7% 0.078 266)

  6. Step 500

    500

    #6E88C6

    oklch(63.2% 0.099 266.3)

  7. Step 600

    600

    #5670B2

    oklch(55.5% 0.108 266.6)

  8. Step 700

    700

    #465E99

    oklch(49.1% 0.099 266.1)

  9. Step 800

    800

    #3A4D7C

    oklch(42.7% 0.082 266.3)

  10. Step 900

    900

    #324064

    oklch(37.7% 0.065 267.1)

  11. Step 950

    950 (this color)

    #010312

    oklch(10.7% 0.041 266.4)

Export this scale for Tailwind in the Tailwind colors tool

#010312 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)#0004130.008
Deuteranopia (no green cones)#0003120.006
Tritanopia (no blue cones)#0006080.034
Achromatopsia (no color)#0404040.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #010312

    #010312

    oklch(10.7% 0.041 266.4)

  • #070400

    #070400

    oklch(11% 0.022 88)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #010312

    #010312

    oklch(10.7% 0.041 266.4)

  • #00050A

    #00050A

    oklch(10.8% 0.022 233.5)

  • #050210

    #050210

    oklch(10.8% 0.039 293.7)

Open the analogous palette in the generator

Split complementary

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

  • #010312

    #010312

    oklch(10.7% 0.041 266.4)

  • #0A0200

    #0A0200

    oklch(10.5% 0.027 51.2)

  • #040500

    #040500

    oklch(10.9% 0.025 116.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #010312

    #010312

    oklch(10.7% 0.041 266.4)

  • #0F0000

    #0F0000

    oklch(10.6% 0.043 29.2)

  • #000601

    #000601

    oklch(10.7% 0.03 149)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #010312

    #010312

    oklch(10.7% 0.041 266.4)

  • #0D0004

    #0D0004

    oklch(10.4% 0.042 355.9)

  • #070400

    #070400

    oklch(11% 0.022 88)

  • #000604

    #000604

    oklch(10.9% 0.021 175)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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