#051820

Closest named color: Rich Black (#0D1B2A). oklch(19.7% 0.03 227.7), rgb(5, 24, 32).

Aa

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

About this color

#051820 is a very dark, muted teal or cyan. In OKLCH its lightness is 20%, its chroma 0.030 and its hue 228°. 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 18.13:1.

Hue familyTeals and cyans
Lightnessvery dark (20%)
Chromamuted (0.030)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.15:1
White text18.13:1

Values

HEX#051820
RGBrgb(5, 24, 32)
HSLhsl(198, 73%, 7%)
OKLCHoklch(19.7% 0.03 227.7)

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 #051820 18.13:1 AAA Lc -106.9 Preferred for body text
Black text on #051820 1.15:1 Fails Lc 0.0 Not readable
#051820 text on white 18.13:1 AAA Lc 104.7 Preferred for body text
#051820 text on black 1.15: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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBEF

    oklch(93.5% 0.01 228.9)

  3. Step 200

    200

    #CCDCE3

    oklch(88.5% 0.02 225.7)

  4. Step 300

    300

    #AAC6D3

    oklch(81% 0.035 227.5)

  5. Step 400

    400

    #7BA8BD

    oklch(70.7% 0.057 228.4)

  6. Step 500

    500

    #5792AC

    oklch(63% 0.073 228.1)

  7. Step 600

    600

    #3A7C98

    oklch(55.5% 0.08 228.5)

  8. Step 700

    700

    #2C6981

    oklch(49.1% 0.073 227.1)

  9. Step 800

    800

    #265669

    oklch(42.8% 0.061 226.8)

  10. Step 900

    900

    #244755

    oklch(37.8% 0.047 226.2)

  11. Step 950

    950 (this color)

    #051820

    oklch(19.7% 0.03 227.7)

Export this scale for Tailwind in the Tailwind colors tool

#051820 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)#1417200.022
Deuteranopia (no green cones)#1015200.018
Tritanopia (no blue cones)#001A1B0.017
Achromatopsia (no color)#1616160.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #051820

    #051820

    oklch(19.7% 0.03 227.7)

  • #201109

    #201109

    oklch(19.6% 0.029 48.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051820

    #051820

    oklch(19.7% 0.03 227.7)

  • #02191A

    #02191A

    oklch(19.5% 0.03 198.8)

  • #0D1623

    #0D1623

    oklch(19.8% 0.03 257.5)

Open the analogous palette in the generator

Split complementary

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

  • #051820

    #051820

    oklch(19.7% 0.03 227.7)

  • #211010

    #211010

    oklch(19.8% 0.029 20)

  • #1D1405

    #1D1405

    oklch(19.8% 0.031 79.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #051820

    #051820

    oklch(19.7% 0.03 227.7)

  • #1F1018

    #1F1018

    oklch(19.8% 0.029 346.8)

  • #171606

    #171606

    oklch(19.6% 0.029 105.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051820

    #051820

    oklch(19.7% 0.03 227.7)

  • #1B111E

    #1B111E

    oklch(19.7% 0.03 318.3)

  • #201109

    #201109

    oklch(19.6% 0.029 48.6)

  • #0F190B

    #0F190B

    oklch(19.9% 0.031 137.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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