#031E27

Closest named color: Rich Black (#0D1B2A). oklch(21.9% 0.037 223.4), rgb(3, 30, 39).

Aa

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

About this color

#031E27 is a very dark, muted teal or cyan. In OKLCH its lightness is 22%, its chroma 0.037 and its hue 223°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.018 away. White text reads best on it, at 17.22:1.

Hue familyTeals and cyans
Lightnessvery dark (22%)
Chromamuted (0.037)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.21:1
White text17.22:1

Values

HEX#031E27
RGBrgb(3, 30, 39)
HSLhsl(195, 86%, 8%)
OKLCHoklch(21.9% 0.037 223.4)

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 #031E27 17.22:1 AAA Lc -106.3 Preferred for body text
Black text on #031E27 1.21:1 Fails Lc 0.0 Not readable
#031E27 text on white 17.22:1 AAA Lc 103.9 Preferred for body text
#031E27 text on black 1.21: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

    #F1F6F8

    oklch(97% 0.006 223.5)

  2. Step 100

    100

    #E1ECF0

    oklch(93.6% 0.013 221.4)

  3. Step 200

    200

    #C9DDE5

    oklch(88.5% 0.024 223.7)

  4. Step 300

    300

    #A3C7D6

    oklch(80.8% 0.044 225.1)

  5. Step 400

    400

    #6EABC1

    oklch(70.8% 0.071 222.8)

  6. Step 500

    500

    #4395B1

    oklch(63% 0.089 223.5)

  7. Step 600

    600

    #187F9D

    oklch(55.6% 0.098 223.4)

  8. Step 700

    700

    #046B86

    oklch(49% 0.091 223.4)

  9. Step 800

    800

    #0D576D

    oklch(42.6% 0.075 224)

  10. Step 900

    900

    #174858

    oklch(37.7% 0.058 223.4)

  11. Step 950

    950 (this color)

    #031E27

    oklch(21.9% 0.037 223.4)

Export this scale for Tailwind in the Tailwind colors tool

#031E27 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)#191D270.029
Deuteranopia (no green cones)#1419270.027
Tritanopia (no blue cones)#0021210.019
Achromatopsia (no color)#1B1B1B0.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #031E27

    #031E27

    oklch(21.9% 0.037 223.4)

  • #29140C

    #29140C

    oklch(21.9% 0.038 41.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031E27

    #031E27

    oklch(21.9% 0.037 223.4)

  • #00201F

    #00201F

    oklch(22% 0.038 191.8)

  • #0E1B2B

    #0E1B2B

    oklch(21.9% 0.037 254.3)

Open the analogous palette in the generator

Split complementary

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

  • #031E27

    #031E27

    oklch(21.9% 0.037 223.4)

  • #291315

    #291315

    oklch(21.9% 0.036 14.7)

  • #251805

    #251805

    oklch(22.1% 0.038 75)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031E27

    #031E27

    oklch(21.9% 0.037 223.4)

  • #26131F

    #26131F

    oklch(21.9% 0.037 342.2)

  • #1D1B05

    #1D1B05

    oklch(21.8% 0.037 104.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031E27

    #031E27

    oklch(21.9% 0.037 223.4)

  • #211527

    #211527

    oklch(22% 0.038 313.9)

  • #29140C

    #29140C

    oklch(21.9% 0.038 41.4)

  • #131E0C

    #131E0C

    oklch(21.9% 0.037 134.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #031E27 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.