#031B1C#031B1C

#031B1C is a very dark, muted teal. Relative luminance 0.009; OKLCH L 20.4% C 0.031 H 198.8°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#031B1C
RGBrgb(3, 27, 28)
HSLhsl(182, 81%, 6%)
HSVhsv(182, 89%, 11%)
CMYKcmyk(89.3%, 3.6%, 0%, 89%)
CIE-LABlab(8.01, -8.36, -3.55)
CIE-LCHlch(8.01, 9.08, 202.99°)
OKLaboklab(20.36% -0.029 -0.0098)
OKLCHoklch(20.36% 0.031 198.8)
XYZxyz(0.6390, 0.8870, 1.2359)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031B1C #1C0403
analogous
#031C10 #031B1C #030E1C
triadic
#031B1C #1C031B #1B1C03
tetradic
#031B1C #10031C #1C0403 #0E1C03
square
#031B1C #10031C #1C0403 #0E1C03
split-complementary
#031B1C #1C030E #1C1003
monochromatic
#031B1C #031B1C #031B1C #095053 #0F868B

Accessibility & contrast

On white

17.84
#031B1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#031B1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031B1C
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031B1C#FFFFFF#000000##FFFFFF
##031B1C1.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18191C
Deuteranopia (green-blind)
#14161C
Tritanopia (blue-blind)
#001C1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031b1c;
/* rgb */ color: rgb(3, 27, 28);
/* oklch */ color: oklch(20.4% 0.031 198.8);
Tailwind
colors: {
  custom: {
    50: '#475757',
    500: '#031b1c',
    950: '#000000',
  },
}
SCSS
$custom: #031b1c;
$custom-light: #475757;
$custom-dark: #000000;
JSON
{
  "hex": "#031b1c",
  "rgb": {
    "r": 3,
    "g": 27,
    "b": 28
  },
  "hsl": {
    "h": 182.4,
    "s": 80.645,
    "l": 6.078
  },
  "oklch": {
    "l": 0.20355,
    "c": 0.03064,
    "h": 198.8
  },
  "luminance": 0.00887
}

Semantic roles & 50–950 ramp

primary
#031B1C
secondary
#601E1B
accent
#3931F7
background
#F4F5F5
surface
#E6E9E9
border
#C2C5C5
text
#000303
muted
#777878

Preview Lab

Preview with #031B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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