#030217

Closest named color: Midnight (#03012D). oklch(11.3% 0.052 278.2), rgb(3, 2, 23).

Aa

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

About this color

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

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

Values

HEX#030217
RGBrgb(3, 2, 23)
HSLhsl(243, 84%, 5%)
OKLCHoklch(11.3% 0.052 278.2)

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 #030217 20.48:1 AAA Lc -107.8 Preferred for body text
Black text on #030217 1.02:1 Fails Lc 0.0 Not readable
#030217 text on white 20.48:1 AAA Lc 105.9 Preferred for body text
#030217 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F6

    oklch(93.6% 0.018 279.1)

  3. Step 200

    200

    #D3D7F0

    oklch(88.4% 0.035 278.4)

  4. Step 300

    300

    #B7BDE9

    oklch(80.8% 0.062 278.8)

  5. Step 400

    400

    #929ADD

    oklch(70.6% 0.098 278.3)

  6. Step 500

    500

    #7980D4

    oklch(63.1% 0.126 278.5)

  7. Step 600

    600

    #6268C1

    oklch(55.5% 0.136 278.1)

  8. Step 700

    700

    #5256A7

    oklch(49.1% 0.127 278.5)

  9. Step 800

    800

    #434787

    oklch(42.7% 0.105 278.3)

  10. Step 900

    900

    #383C6C

    oklch(37.7% 0.082 278.1)

  11. Step 950

    950 (this color)

    #030217

    oklch(11.3% 0.052 278.2)

Export this scale for Tailwind in the Tailwind colors tool

#030217 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)#0005180.020
Deuteranopia (no green cones)#0004170.016
Tritanopia (no blue cones)#00060A0.043
Achromatopsia (no color)#0404040.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #030217

    #030217

    oklch(11.3% 0.052 278.2)

  • #060500

    #060500

    oklch(11.3% 0.024 103.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #030217

    #030217

    oklch(11.3% 0.052 278.2)

  • #00050F

    #00050F

    oklch(11.3% 0.031 248.9)

  • #090113

    #090113

    oklch(11.5% 0.05 306)

Open the analogous palette in the generator

Split complementary

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

  • #030217

    #030217

    oklch(11.3% 0.052 278.2)

  • #0A0300

    #0A0300

    oklch(11.1% 0.025 62.5)

  • #030600

    #030600

    oklch(11.2% 0.029 126.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #030217

    #030217

    oklch(11.3% 0.052 278.2)

  • #0F0100

    #0F0100

    oklch(11.2% 0.038 35.8)

  • #000703

    #000703

    oklch(11.4% 0.025 161.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #030217

    #030217

    oklch(11.3% 0.052 278.2)

  • #110003

    #110003

    oklch(11.4% 0.046 7.4)

  • #060500

    #060500

    oklch(11.3% 0.024 103.4)

  • #000606

    #000606

    oklch(11.1% 0.019 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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