#031A18#031A18

#031A18 is a very dark, muted teal. Relative luminance 0.008; OKLCH L 19.8% C 0.030 H 187.4°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#031A18
RGBrgb(3, 26, 24)
HSLhsl(175, 79%, 6%)
HSVhsv(175, 88%, 10%)
CMYKcmyk(88.5%, 0%, 7.7%, 89.8%)
CIE-LABlab(7.44, -8.66, -1.36)
CIE-LCHlch(7.44, 8.77, 188.95°)
OKLaboklab(19.83% -0.03 -0.0039)
OKLCHoklch(19.83% 0.03 187.4)
XYZxyz(0.5717, 0.8240, 0.9929)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A18 #1A0305
analogous
#031A0C #031A18 #03101A
triadic
#031A18 #18031A #1A1803
tetradic
#031A18 #0C031A #1A0305 #101A03
square
#031A18 #0C031A #1A0305 #101A03
split-complementary
#031A18 #1A0310 #1A0C03
monochromatic
#031B19 #031B19 #031B19 #09514B #10887D

Accessibility & contrast

On white

18.03
#031A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#031A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031A18
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A18#FFFFFF#000000##FFFFFF
##031A181.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181818
Deuteranopia (green-blind)
#141518
Tritanopia (blue-blind)
#001B19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #031a18;
/* rgb */ color: rgb(3, 26, 24);
/* oklch */ color: oklch(19.8% 0.030 187.4);
Tailwind
colors: {
  custom: {
    50: '#475654',
    500: '#031a18',
    950: '#000000',
  },
}
SCSS
$custom: #031a18;
$custom-light: #475654;
$custom-dark: #000000;
JSON
{
  "hex": "#031a18",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 24
  },
  "hsl": {
    "h": 174.783,
    "s": 79.31,
    "l": 5.686
  },
  "oklch": {
    "l": 0.19828,
    "c": 0.03029,
    "h": 187.4
  },
  "luminance": 0.00824
}

Semantic roles & 50–950 ramp

primary
#031A18
secondary
#5E1B21
accent
#3243F6
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #031A18

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

Preview Lab → · Contrast checker → · Palette generator →

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