#041835

Closest named color: Rich Black (#0D1B2A). oklch(21.2% 0.063 257.2), rgb(4, 24, 53).

Aa

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

About this color

#041835 is a very dark, muted blue. In OKLCH its lightness is 21%, its chroma 0.063 and its hue 257°. 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.68:1.

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

Values

HEX#041835
RGBrgb(4, 24, 53)
HSLhsl(216, 86%, 11%)
OKLCHoklch(21.2% 0.063 257.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 #041835 17.68:1 AAA Lc -106.6 Preferred for body text
Black text on #041835 1.18:1 Fails Lc 0.0 Not readable
#041835 text on white 17.68:1 AAA Lc 104.3 Preferred for body text
#041835 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C8DBF5

    oklch(88.5% 0.041 256.2)

  4. Step 300

    300

    #A2C3F1

    oklch(80.9% 0.075 256.7)

  5. Step 400

    400

    #6FA2EA

    oklch(70.6% 0.119 257.1)

  6. Step 500

    500

    #4889E4

    oklch(63.1% 0.153 257.3)

  7. Step 600

    600

    #2871D2

    oklch(55.7% 0.166 257.1)

  8. Step 700

    700

    #1A5EB6

    oklch(49.2% 0.154 257.1)

  9. Step 800

    800

    #194D93

    oklch(42.7% 0.128 257.3)

  10. Step 900

    900

    #1B4175

    oklch(37.7% 0.099 257.1)

  11. Step 950

    950 (this color)

    #041835

    oklch(21.2% 0.063 257.2)

Export this scale for Tailwind in the Tailwind colors tool

#041835 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)#081B360.012
Deuteranopia (no green cones)#0116340.009
Tritanopia (no blue cones)#001F230.049
Achromatopsia (no color)#1818180.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #041835

    #041835

    oklch(21.2% 0.063 257.2)

  • #241600

    #241600

    oklch(21.3% 0.044 78.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #041835

    #041835

    oklch(21.2% 0.063 257.2)

  • #001C27

    #001C27

    oklch(21.1% 0.041 227.1)

  • #181234

    #181234

    oklch(21.2% 0.064 287.7)

Open the analogous palette in the generator

Split complementary

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

  • #041835

    #041835

    oklch(21.2% 0.063 257.2)

  • #2D0E00

    #2D0E00

    oklch(21.1% 0.058 47.4)

  • #1B1A00

    #1B1A00

    oklch(21.2% 0.046 107.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #041835

    #041835

    oklch(21.2% 0.063 257.2)

  • #30090E

    #30090E

    oklch(21.2% 0.063 17)

  • #081F01

    #081F01

    oklch(21.2% 0.063 137.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #041835

    #041835

    oklch(21.2% 0.063 257.2)

  • #2C0A1E

    #2C0A1E

    oklch(21.2% 0.062 347.4)

  • #241600

    #241600

    oklch(21.3% 0.044 78.3)

  • #001F15

    #001F15

    oklch(21.3% 0.043 168)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #041835 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.