#03041A

Closest named color: Midnight (#03012D). oklch(12.6% 0.051 273.2), rgb(3, 4, 26).

Aa

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

About this color

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

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

Values

HEX#03041A
RGBrgb(3, 4, 26)
HSLhsl(237, 79%, 6%)
OKLCHoklch(12.6% 0.051 273.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 #03041A 20.26:1 AAA Lc -107.8 Preferred for body text
Black text on #03041A 1.03:1 Fails Lc 0.0 Not readable
#03041A text on white 20.26:1 AAA Lc 105.9 Preferred for body text
#03041A 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

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D2D8F0

    oklch(88.5% 0.034 274.5)

  4. Step 300

    300

    #B4BFE8

    oklch(81% 0.059 273.2)

  5. Step 400

    400

    #8D9DDD

    oklch(70.8% 0.096 273)

  6. Step 500

    500

    #7283D3

    oklch(63.1% 0.122 273.3)

  7. Step 600

    600

    #5B6BC0

    oklch(55.6% 0.133 273.3)

  8. Step 700

    700

    #4B59A6

    oklch(49.1% 0.124 273.3)

  9. Step 800

    800

    #3D4986

    oklch(42.6% 0.102 273)

  10. Step 900

    900

    #343E6C

    oklch(37.8% 0.08 272.8)

  11. Step 950

    950 (this color)

    #03041A

    oklch(12.6% 0.051 273.2)

Export this scale for Tailwind in the Tailwind colors tool

#03041A 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)#00071B0.016
Deuteranopia (no green cones)#00051A0.012
Tritanopia (no blue cones)#00090D0.042
Achromatopsia (no color)#0606060.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #03041A

    #03041A

    oklch(12.6% 0.051 273.2)

  • #0A0600

    #0A0600

    oklch(12.5% 0.026 90.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #03041A

    #03041A

    oklch(12.6% 0.051 273.2)

  • #000711

    #000711

    oklch(12.4% 0.031 244)

  • #0B0216

    #0B0216

    oklch(12.6% 0.05 304.6)

Open the analogous palette in the generator

Split complementary

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

  • #03041A

    #03041A

    oklch(12.6% 0.051 273.2)

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

  • #03041A

    #03041A

    oklch(12.6% 0.051 273.2)

  • #150100

    #150100

    oklch(12.7% 0.046 33.4)

  • #000A03

    #000A03

    oklch(12.7% 0.031 155.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #03041A

    #03041A

    oklch(12.6% 0.051 273.2)

  • #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 #03041A, closest first.

Similar named colors

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

Use #03041A 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.