#03031D

Closest named color: Midnight (#03012D). oklch(12.5% 0.059 273.9), rgb(3, 3, 29).

Aa

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

About this color

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

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

Values

HEX#03031D
RGBrgb(3, 3, 29)
HSLhsl(240, 81%, 6%)
OKLCHoklch(12.5% 0.059 273.9)

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 #03031D 20.29:1 AAA Lc -107.7 Preferred for body text
Black text on #03031D 1.03:1 Fails Lc 0.0 Not readable
#03031D text on white 20.29:1 AAA Lc 105.8 Preferred for body text
#03031D 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

    #E5E9F8

    oklch(93.5% 0.021 274)

  3. Step 200

    200

    #D1D8F3

    oklch(88.5% 0.038 274.1)

  4. Step 300

    300

    #B2BEEE

    oklch(80.9% 0.069 273.8)

  5. Step 400

    400

    #8B9BE6

    oklch(70.7% 0.111 274)

  6. Step 500

    500

    #7080DE

    oklch(63% 0.142 274.3)

  7. Step 600

    600

    #5968CC

    oklch(55.6% 0.154 273.9)

  8. Step 700

    700

    #4956B1

    oklch(49.1% 0.144 273.8)

  9. Step 800

    800

    #3C478F

    oklch(42.8% 0.119 273.8)

  10. Step 900

    900

    #333C72

    oklch(37.7% 0.092 274)

  11. Step 950

    950 (this color)

    #03031D

    oklch(12.5% 0.059 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#03031D 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)#00071E0.019
Deuteranopia (no green cones)#00051C0.014
Tritanopia (no blue cones)#00090E0.048
Achromatopsia (no color)#0606060.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #03031D

    #03031D

    oklch(12.5% 0.059 273.9)

  • #0A0600

    #0A0600

    oklch(12.5% 0.026 90.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #03031D

    #03031D

    oklch(12.5% 0.059 273.9)

  • #000711

    #000711

    oklch(12.4% 0.031 244)

  • #0C0119

    #0C0119

    oklch(12.7% 0.059 304.2)

Open the analogous palette in the generator

Split complementary

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

  • #03031D

    #03031D

    oklch(12.5% 0.059 273.9)

  • #0E0400

    #0E0400

    oklch(12.4% 0.029 59.9)

  • #050800

    #050800

    oklch(12.5% 0.031 122.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #03031D

    #03031D

    oklch(12.5% 0.059 273.9)

  • #140100

    #140100

    oklch(12.5% 0.045 33.7)

  • #000A03

    #000A03

    oklch(12.7% 0.031 155.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #03031D

    #03031D

    oklch(12.5% 0.059 273.9)

  • #150005

    #150005

    oklch(12.6% 0.051 3.6)

  • #0A0600

    #0A0600

    oklch(12.5% 0.026 90.1)

  • #000907

    #000907

    oklch(12.5% 0.023 181.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #03031D 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.