#031A1A#031A1A

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

Color values

HEX#031A1A
RGBrgb(3, 26, 26)
HSLhsl(180, 79%, 6%)
HSVhsv(180, 88%, 10%)
CMYKcmyk(88.5%, 0%, 0%, 89.8%)
CIE-LABlab(7.52, -8.12, -2.77)
CIE-LCHlch(7.52, 8.58, 198.82°)
OKLaboklab(19.92% -0.0288 -0.0077)
OKLCHoklch(19.92% 0.03 195)
XYZxyz(0.5933, 0.8327, 1.1065)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031A1A #1A0303
analogous
#031A0E #031A1A #030E1A
triadic
#031A1A #1A031A #1A1A03
tetradic
#031A1A #0E031A #1A0303 #0E1A03
square
#031A1A #0E031A #1A0303 #0E1A03
split-complementary
#031A1A #1A030E #1A0E03
monochromatic
#031B1B #031B1B #031B1B #095151 #108888

Accessibility & contrast

On white

18.00
#031A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#031A1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031A1A
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031A1A#FFFFFF#000000##FFFFFF
##031A1A1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18181A
Deuteranopia (green-blind)
#14151A
Tritanopia (blue-blind)
#001B1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #031a1a;
/* rgb */ color: rgb(3, 26, 26);
/* oklch */ color: oklch(19.9% 0.030 195.0);
Tailwind
colors: {
  custom: {
    50: '#475656',
    500: '#031a1a',
    950: '#000000',
  },
}
SCSS
$custom: #031a1a;
$custom-light: #475656;
$custom-dark: #000000;
JSON
{
  "hex": "#031a1a",
  "rgb": {
    "r": 3,
    "g": 26,
    "b": 26
  },
  "hsl": {
    "h": 180,
    "s": 79.31,
    "l": 5.686
  },
  "oklch": {
    "l": 0.19921,
    "c": 0.02984,
    "h": 195
  },
  "luminance": 0.00833
}

Semantic roles & 50–950 ramp

primary
#031A1A
secondary
#5E1B1B
accent
#3232F6
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878

Preview Lab

Preview with #031A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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