#031E18#031E18

#031E18 is a very dark, muted teal. Relative luminance 0.010; OKLCH L 21.2% C 0.036 H 175.8°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#031E18
RGBrgb(3, 30, 24)
HSLhsl(167, 82%, 6%)
HSVhsv(167, 90%, 12%)
CMYKcmyk(90%, 0%, 20%, 88.2%)
CIE-LABlab(9.11, -11.94, 1.06)
CIE-LCHlch(9.11, 11.99, 174.91°)
OKLaboklab(21.19% -0.0356 0.0026)
OKLCHoklch(21.19% 0.036 175.8)
XYZxyz(0.6666, 1.0138, 1.0245)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031E18 #1E0309
analogous
#031E0B #031E18 #03171E
triadic
#031E18 #18031E #1E1803
tetradic
#031E18 #0B031E #1E0309 #171E03
square
#031E18 #0B031E #1E0309 #171E03
split-complementary
#031E18 #1E0317 #1E0B03
monochromatic
#031C16 #031C16 #031E18 #095645 #0E8D71

Accessibility & contrast

On white

17.46
#031E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#031E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031E18
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031E18#FFFFFF#000000##FFFFFF
##031E181.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1B18
Deuteranopia (green-blind)
#191818
Tritanopia (blue-blind)
#001F1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #031e18;
/* rgb */ color: rgb(3, 30, 24);
/* oklch */ color: oklch(21.2% 0.036 175.8);
Tailwind
colors: {
  custom: {
    50: '#475954',
    500: '#031e18',
    950: '#000000',
  },
}
SCSS
$custom: #031e18;
$custom-light: #475954;
$custom-dark: #000000;
JSON
{
  "hex": "#031e18",
  "rgb": {
    "r": 3,
    "g": 30,
    "b": 24
  },
  "hsl": {
    "h": 166.667,
    "s": 81.818,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21194,
    "c": 0.0357,
    "h": 175.8
  },
  "luminance": 0.01014
}

Semantic roles & 50–950 ramp

primary
#031E18
secondary
#621B2B
accent
#305CF8
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #031E18

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

Preview Lab → · Contrast checker → · Palette generator →

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