#041C39

Closest named color: Rich Black (#0D1B2A). oklch(22.7% 0.064 254.7), rgb(4, 28, 57).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.064)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.23:1
White text17.06:1

Values

HEX#041C39
RGBrgb(4, 28, 57)
HSLhsl(213, 87%, 12%)
OKLCHoklch(22.7% 0.064 254.7)

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 #041C39 17.06:1 AAA Lc -106.1 Preferred for body text
Black text on #041C39 1.23:1 Fails Lc 0.0 Not readable
#041C39 text on white 17.06:1 AAA Lc 103.7 Preferred for body text
#041C39 text on black 1.23: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

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C7DBF5

    oklch(88.5% 0.042 255)

  4. Step 300

    300

    #A0C4F1

    oklch(81% 0.075 254.2)

  5. Step 400

    400

    #6AA3EB

    oklch(70.6% 0.122 254.9)

  6. Step 500

    500

    #3F8AE4

    oklch(63% 0.155 254.7)

  7. Step 600

    600

    #1872D2

    oklch(55.5% 0.168 254.6)

  8. Step 700

    700

    #065FB6

    oklch(49.1% 0.156 254.6)

  9. Step 800

    800

    #0D4E93

    oklch(42.6% 0.129 254.6)

  10. Step 900

    900

    #154275

    oklch(37.8% 0.1 254.2)

  11. Step 950

    950 (this color)

    #041C39

    oklch(22.7% 0.064 254.7)

Export this scale for Tailwind in the Tailwind colors tool

#041C39 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)#0D1E3A0.013
Deuteranopia (no green cones)#041A380.007
Tritanopia (no blue cones)#0023270.049
Achromatopsia (no color)#1C1C1C0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #041C39

    #041C39

    oklch(22.7% 0.064 254.7)

  • #291800

    #291800

    oklch(22.6% 0.048 74.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #041C39

    #041C39

    oklch(22.7% 0.064 254.7)

  • #00202B

    #00202B

    oklch(22.6% 0.043 224.8)

  • #1A1638

    #1A1638

    oklch(22.6% 0.064 285.5)

Open the analogous palette in the generator

Split complementary

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

  • #041C39

    #041C39

    oklch(22.7% 0.064 254.7)

  • #331001

    #331001

    oklch(22.7% 0.063 44.7)

  • #201D00

    #201D00

    oklch(22.7% 0.048 104.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #041C39

    #041C39

    oklch(22.7% 0.064 254.7)

  • #340C12

    #340C12

    oklch(22.6% 0.064 15.1)

  • #0E2201

    #0E2201

    oklch(22.6% 0.063 134.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #041C39

    #041C39

    oklch(22.7% 0.064 254.7)

  • #300D23

    #300D23

    oklch(22.7% 0.065 344.8)

  • #291800

    #291800

    oklch(22.6% 0.048 74.2)

  • #002316

    #002316

    oklch(22.7% 0.048 164.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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