#031C18#031C18

#031C18 is a very dark, muted teal. Relative luminance 0.009; OKLCH L 20.5% C 0.033 H 181.0°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#031C18
RGBrgb(3, 28, 24)
HSLhsl(170, 81%, 6%)
HSVhsv(170, 89%, 11%)
CMYKcmyk(89.3%, 0%, 14.3%, 89%)
CIE-LABlab(8.27, -10.34, -0.16)
CIE-LCHlch(8.27, 10.34, 180.86°)
OKLaboklab(20.51% -0.0328 -0.0006)
OKLCHoklch(20.51% 0.033 181)
XYZxyz(0.6176, 0.9157, 1.0082)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031C18 #1C0307
analogous
#031C0B #031C18 #03131C
triadic
#031C18 #18031C #1C1803
tetradic
#031C18 #0B031C #1C0307 #131C03
square
#031C18 #0B031C #1C0307 #131C03
split-complementary
#031C18 #1C0313 #1C0B03
monochromatic
#031C18 #031C18 #031C18 #095347 #0F8B77

Accessibility & contrast

On white

17.75
#031C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #031C18
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031C18#FFFFFF#000000##FFFFFF
##031C181.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1A18
Deuteranopia (green-blind)
#161718
Tritanopia (blue-blind)
#001D1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031c18;
/* rgb */ color: rgb(3, 28, 24);
/* oklch */ color: oklch(20.5% 0.033 181.0);
Tailwind
colors: {
  custom: {
    50: '#475854',
    500: '#031c18',
    950: '#000000',
  },
}
SCSS
$custom: #031c18;
$custom-light: #475854;
$custom-dark: #000000;
JSON
{
  "hex": "#031c18",
  "rgb": {
    "r": 3,
    "g": 28,
    "b": 24
  },
  "hsl": {
    "h": 170.4,
    "s": 80.645,
    "l": 6.078
  },
  "oklch": {
    "l": 0.20511,
    "c": 0.03285,
    "h": 181
  },
  "luminance": 0.00916
}

Semantic roles & 50–950 ramp

primary
#031C18
secondary
#601B26
accent
#3150F7
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #031C18

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

Preview Lab → · Contrast checker → · Palette generator →

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