#031C20#031C20

#031C20 is a very dark, muted teal. Relative luminance 0.010; OKLCH L 20.9% C 0.032 H 209.3°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#031C20
RGBrgb(3, 28, 32)
HSLhsl(188, 83%, 7%)
HSVhsv(188, 91%, 13%)
CMYKcmyk(90.6%, 12.5%, 0%, 87.5%)
CIE-LABlab(8.60, -7.86, -5.66)
CIE-LCHlch(8.60, 9.69, 215.77°)
OKLaboklab(20.89% -0.0281 -0.0157)
OKLCHoklch(20.89% 0.032 209.3)
XYZxyz(0.7134, 0.9541, 1.5128)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031C20 #200703
analogous
#032016 #031C20 #030E20
triadic
#031C20 #20031C #1C2003
tetradic
#031C20 #160320 #200703 #0E2003
square
#031C20 #160320 #200703 #0E2003
split-complementary
#031C20 #20030E #201603
monochromatic
#03181C #03181C #031C20 #084D58 #0D7E90

Accessibility & contrast

On white

17.64
#031C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#031C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031C20
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031C20#FFFFFF#000000##FFFFFF
##031C201.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181B20
Deuteranopia (green-blind)
#141720
Tritanopia (blue-blind)
#001E1D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #031c20;
/* rgb */ color: rgb(3, 28, 32);
/* oklch */ color: oklch(20.9% 0.032 209.3);
Tailwind
colors: {
  custom: {
    50: '#47585b',
    500: '#031c20',
    950: '#000000',
  },
}
SCSS
$custom: #031c20;
$custom-light: #47585b;
$custom-dark: #000000;
JSON
{
  "hex": "#031c20",
  "rgb": {
    "r": 3,
    "g": 28,
    "b": 32
  },
  "hsl": {
    "h": 188.276,
    "s": 82.857,
    "l": 6.863
  },
  "oklch": {
    "l": 0.20892,
    "c": 0.03219,
    "h": 209.3
  },
  "luminance": 0.00954
}

Semantic roles & 50–950 ramp

primary
#031C20
secondary
#64251B
accent
#4B2FF9
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000304
muted
#777879

Preview Lab

Preview with #031C20

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#031C20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva