#041C38

Closest named color: Rich Black (#0D1B2A). oklch(22.6% 0.062 254), rgb(4, 28, 56).

Aa

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

About this color

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

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

Values

HEX#041C38
RGBrgb(4, 28, 56)
HSLhsl(212, 87%, 12%)
OKLCHoklch(22.6% 0.062 254)

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 #041C38 17.09:1 AAA Lc -106.2 Preferred for body text
Black text on #041C38 1.22:1 Fails Lc 0.0 Not readable
#041C38 text on white 17.09:1 AAA Lc 103.8 Preferred for body text
#041C38 text on black 1.22: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

    #C7DBF4

    oklch(88.4% 0.041 254)

  4. Step 300

    300

    #A0C4F0

    oklch(81% 0.074 253.7)

  5. Step 400

    400

    #6BA4E9

    oklch(70.8% 0.118 254)

  6. Step 500

    500

    #408BE2

    oklch(63.1% 0.151 254.1)

  7. Step 600

    600

    #1973D0

    oklch(55.6% 0.164 254)

  8. Step 700

    700

    #0760B4

    oklch(49.2% 0.152 253.9)

  9. Step 800

    800

    #0E4F92

    oklch(42.8% 0.126 254)

  10. Step 900

    900

    #154274

    oklch(37.7% 0.098 253.8)

  11. Step 950

    950 (this color)

    #041C38

    oklch(22.6% 0.062 254)

Export this scale for Tailwind in the Tailwind colors tool

#041C38 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)#0E1E390.014
Deuteranopia (no green cones)#051A370.007
Tritanopia (no blue cones)#0023270.047
Achromatopsia (no color)#1C1C1C0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #041C38

    #041C38

    oklch(22.6% 0.062 254)

  • #291800

    #291800

    oklch(22.6% 0.048 74.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #041C38

    #041C38

    oklch(22.6% 0.062 254)

  • #00202B

    #00202B

    oklch(22.6% 0.043 224.8)

  • #191638

    #191638

    oklch(22.5% 0.064 284)

Open the analogous palette in the generator

Split complementary

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

  • #041C38

    #041C38

    oklch(22.6% 0.062 254)

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

  • #041C38

    #041C38

    oklch(22.6% 0.062 254)

  • #330D13

    #330D13

    oklch(22.6% 0.061 14)

  • #0F2201

    #0F2201

    oklch(22.7% 0.063 133.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #041C38

    #041C38

    oklch(22.6% 0.062 254)

  • #2F0E23

    #2F0E23

    oklch(22.6% 0.062 344.1)

  • #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 #041C38, closest first.

Similar named colors

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

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