#041F3A

Closest named color: Rich Black (#0D1B2A). oklch(23.6% 0.061 251.4), rgb(4, 31, 58).

Aa

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

About this color

#041F3A is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.061 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.032 away. White text reads best on it, at 16.63:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.061)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.26:1
White text16.63:1

Values

HEX#041F3A
RGBrgb(4, 31, 58)
HSLhsl(210, 87%, 12%)
OKLCHoklch(23.6% 0.061 251.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 #041F3A 16.63:1 AAA Lc -105.8 Preferred for body text
Black text on #041F3A 1.26:1 Fails Lc 0.0 Not readable
#041F3A text on white 16.63:1 AAA Lc 103.3 Preferred for body text
#041F3A text on black 1.26: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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF8

    oklch(93.6% 0.021 252.5)

  3. Step 200

    200

    #C6DCF4

    oklch(88.6% 0.041 250.6)

  4. Step 300

    300

    #9EC4EF

    oklch(80.8% 0.074 251.8)

  5. Step 400

    400

    #67A5E7

    oklch(70.7% 0.117 251.2)

  6. Step 500

    500

    #398DE0

    oklch(63.2% 0.149 251.2)

  7. Step 600

    600

    #0575CD

    oklch(55.7% 0.161 251.1)

  8. Step 700

    700

    #0062AF

    oklch(49.2% 0.144 251.3)

  9. Step 800

    800

    #025090

    oklch(42.7% 0.124 251.4)

  10. Step 900

    900

    #114373

    oklch(37.8% 0.097 251.5)

  11. Step 950

    950 (this color)

    #041F3A

    oklch(23.6% 0.061 251.4)

Export this scale for Tailwind in the Tailwind colors tool

#041F3A 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)#12213B0.018
Deuteranopia (no green cones)#091C390.010
Tritanopia (no blue cones)#0025290.044
Achromatopsia (no color)#1E1E1E0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #041F3A

    #041F3A

    oklch(23.6% 0.061 251.4)

  • #2D1900

    #2D1900

    oklch(23.5% 0.051 70.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #041F3A

    #041F3A

    oklch(23.6% 0.061 251.4)

  • #00232D

    #00232D

    oklch(23.7% 0.044 221.1)

  • #1A193A

    #1A193A

    oklch(23.5% 0.062 281.9)

Open the analogous palette in the generator

Split complementary

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

  • #041F3A

    #041F3A

    oklch(23.6% 0.061 251.4)

  • #351205

    #351205

    oklch(23.5% 0.061 40.8)

  • #231F00

    #231F00

    oklch(23.6% 0.05 102.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #041F3A

    #041F3A

    oklch(23.6% 0.061 251.4)

  • #360F17

    #360F17

    oklch(23.6% 0.063 10.8)

  • #132402

    #132402

    oklch(23.6% 0.061 131.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #041F3A

    #041F3A

    oklch(23.6% 0.061 251.4)

  • #311127

    #311127

    oklch(23.7% 0.061 341.1)

  • #2D1900

    #2D1900

    oklch(23.5% 0.051 70.1)

  • #002616

    #002616

    oklch(23.7% 0.053 160.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #041F3A 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.