#05202F

Closest named color: Rich Black (#0D1B2A). oklch(23.2% 0.043 236.8), rgb(5, 32, 47).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.043)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.25:1
White text16.74:1

Values

HEX#05202F
RGBrgb(5, 32, 47)
HSLhsl(201, 81%, 10%)
OKLCHoklch(23.2% 0.043 236.8)

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 #05202F 16.74:1 AAA Lc -106.0 Preferred for body text
Black text on #05202F 1.25:1 Fails Lc 0.0 Not readable
#05202F text on white 16.74:1 AAA Lc 103.5 Preferred for body text
#05202F text on black 1.25: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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1ECF3

    oklch(93.7% 0.015 235.4)

  3. Step 200

    200

    #C8DCEA

    oklch(88.4% 0.029 238.3)

  4. Step 300

    300

    #A2C6DE

    oklch(80.8% 0.051 237.5)

  5. Step 400

    400

    #6DA9CE

    oklch(70.8% 0.083 236.7)

  6. Step 500

    500

    #4192C1

    oklch(63% 0.106 237.3)

  7. Step 600

    600

    #167CAD

    oklch(55.6% 0.114 236.6)

  8. Step 700

    700

    #026895

    oklch(49% 0.107 237.2)

  9. Step 800

    800

    #0C5579

    oklch(42.7% 0.088 237.2)

  10. Step 900

    900

    #164761

    oklch(37.8% 0.068 236)

  11. Step 950

    950 (this color)

    #05202F

    oklch(23.2% 0.043 236.8)

Export this scale for Tailwind in the Tailwind colors tool

#05202F 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)#1920300.025
Deuteranopia (no green cones)#131C2F0.020
Tritanopia (no blue cones)#0024250.029
Achromatopsia (no color)#1E1E1E0.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #05202F

    #05202F

    oklch(23.2% 0.043 236.8)

  • #2C1707

    #2C1707

    oklch(23% 0.043 56.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05202F

    #05202F

    oklch(23.2% 0.043 236.8)

  • #002227

    #002227

    oklch(23.1% 0.04 208.9)

  • #141C32

    #141C32

    oklch(23.1% 0.044 267.7)

Open the analogous palette in the generator

Split complementary

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

  • #05202F

    #05202F

    oklch(23.2% 0.043 236.8)

  • #2F1512

    #2F1512

    oklch(23.3% 0.043 27.7)

  • #261C02

    #261C02

    oklch(23.2% 0.044 88.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05202F

    #05202F

    oklch(23.2% 0.043 236.8)

  • #2D141E

    #2D141E

    oklch(23.1% 0.043 355.6)

  • #1C2006

    #1C2006

    oklch(23.2% 0.044 117.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05202F

    #05202F

    oklch(23.2% 0.043 236.8)

  • #281628

    #281628

    oklch(23.3% 0.043 326.8)

  • #2C1707

    #2C1707

    oklch(23% 0.043 56.2)

  • #0E2311

    #0E2311

    oklch(23.3% 0.044 147.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #05202F 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.