#041A27

Closest named color: Rich Black (#0D1B2A). oklch(20.7% 0.038 237.2), rgb(4, 26, 39).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (21%)
Chromamuted (0.038)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.18:1
White text17.76:1

Values

HEX#041A27
RGBrgb(4, 26, 39)
HSLhsl(202, 81%, 8%)
OKLCHoklch(20.7% 0.038 237.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 #041A27 17.76:1 AAA Lc -106.7 Preferred for body text
Black text on #041A27 1.18:1 Fails Lc 0.0 Not readable
#041A27 text on white 17.76:1 AAA Lc 104.4 Preferred for body text
#041A27 text on black 1.18: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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2EBF2

    oklch(93.5% 0.014 241)

  3. Step 200

    200

    #CADCE8

    oklch(88.5% 0.025 236.9)

  4. Step 300

    300

    #A6C6DB

    oklch(81% 0.045 236.9)

  5. Step 400

    400

    #74A8C9

    oklch(70.7% 0.073 237)

  6. Step 500

    500

    #4D92BB

    oklch(63.2% 0.093 236.9)

  7. Step 600

    600

    #2D7BA7

    oklch(55.5% 0.101 237.5)

  8. Step 700

    700

    #1E688F

    oklch(49.2% 0.094 236.7)

  9. Step 800

    800

    #1C5574

    oklch(42.8% 0.077 236.7)

  10. Step 900

    900

    #1E465E

    oklch(37.7% 0.061 237.7)

  11. Step 950

    950 (this color)

    #041A27

    oklch(20.7% 0.038 237.2)

Export this scale for Tailwind in the Tailwind colors tool

#041A27 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)#141A280.022
Deuteranopia (no green cones)#0F16270.019
Tritanopia (no blue cones)#001D1E0.025
Achromatopsia (no color)#1818180.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #041A27

    #041A27

    oklch(20.7% 0.038 237.2)

  • #251305

    #251305

    oklch(20.8% 0.039 58)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #041A27

    #041A27

    oklch(20.7% 0.038 237.2)

  • #001C20

    #001C20

    oklch(20.7% 0.036 207.7)

  • #101729

    #101729

    oklch(20.8% 0.037 267)

Open the analogous palette in the generator

Split complementary

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

  • #041A27

    #041A27

    oklch(20.7% 0.038 237.2)

  • #27100E

    #27100E

    oklch(20.7% 0.039 26.2)

  • #1F1602

    #1F1602

    oklch(20.6% 0.038 86.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #041A27

    #041A27

    oklch(20.7% 0.038 237.2)

  • #251018

    #251018

    oklch(20.7% 0.037 356.6)

  • #161A04

    #161A04

    oklch(20.7% 0.04 118.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #041A27

    #041A27

    oklch(20.7% 0.038 237.2)

  • #211121

    #211121

    oklch(20.8% 0.039 326.9)

  • #251305

    #251305

    oklch(20.8% 0.039 58)

  • #0A1C0D

    #0A1C0D

    oklch(20.6% 0.038 147.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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