#041731

Closest named color: Rich Black (#0D1B2A). oklch(20.6% 0.058 256.1), rgb(4, 23, 49).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (21%)
Chromamuted (0.058)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.17:1
White text17.91:1

Values

HEX#041731
RGBrgb(4, 23, 49)
HSLhsl(215, 85%, 10%)
OKLCHoklch(20.6% 0.058 256.1)

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 #041731 17.91:1 AAA Lc -106.7 Preferred for body text
Black text on #041731 1.17:1 Fails Lc 0.0 Not readable
#041731 text on white 17.91:1 AAA Lc 104.5 Preferred for body text
#041731 text on black 1.17: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

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C9DBF3

    oklch(88.5% 0.038 255.6)

  4. Step 300

    300

    #A4C3ED

    oklch(80.9% 0.069 256.1)

  5. Step 400

    400

    #72A3E4

    oklch(70.7% 0.109 255.8)

  6. Step 500

    500

    #4C8ADC

    oklch(63% 0.14 256.1)

  7. Step 600

    600

    #2E72CA

    oklch(55.5% 0.153 256.4)

  8. Step 700

    700

    #205FAF

    oklch(49% 0.142 256.4)

  9. Step 800

    800

    #1D4E8D

    oklch(42.6% 0.117 256.3)

  10. Step 900

    900

    #1D4271

    oklch(37.8% 0.091 255.6)

  11. Step 950

    950 (this color)

    #041731

    oklch(20.6% 0.058 256.1)

Export this scale for Tailwind in the Tailwind colors tool

#041731 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)#0A19320.012
Deuteranopia (no green cones)#0315300.007
Tritanopia (no blue cones)#001D210.044
Achromatopsia (no color)#1717170.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #041731

    #041731

    oklch(20.6% 0.058 256.1)

  • #221400

    #221400

    oklch(20.5% 0.043 76.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #041731

    #041731

    oklch(20.6% 0.058 256.1)

  • #001B25

    #001B25

    oklch(20.7% 0.039 225.3)

  • #161230

    #161230

    oklch(20.6% 0.058 286.3)

Open the analogous palette in the generator

Split complementary

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

  • #041731

    #041731

    oklch(20.6% 0.058 256.1)

  • #2C0D00

    #2C0D00

    oklch(20.8% 0.058 46.6)

  • #1A1800

    #1A1800

    oklch(20.5% 0.044 105.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #041731

    #041731

    oklch(20.6% 0.058 256.1)

  • #2D090E

    #2D090E

    oklch(20.6% 0.059 15.8)

  • #0A1D01

    #0A1D01

    oklch(20.7% 0.058 135.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #041731

    #041731

    oklch(20.6% 0.058 256.1)

  • #290A1D

    #290A1D

    oklch(20.6% 0.058 345.7)

  • #221400

    #221400

    oklch(20.5% 0.043 76.7)

  • #001D13

    #001D13

    oklch(20.5% 0.042 167.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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