#04312D#04312D

#04312D is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.3% C 0.047 H 185.9°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#04312D
RGBrgb(4, 49, 45)
HSLhsl(175, 85%, 10%)
HSVhsv(175, 92%, 19%)
CMYKcmyk(91.8%, 0%, 8.2%, 80.8%)
CIE-LABlab(17.51, -15.74, -1.68)
CIE-LCHlch(17.51, 15.83, 186.10°)
OKLaboklab(28.32% -0.0466 -0.0048)
OKLCHoklch(28.32% 0.047 185.9)
XYZxyz(1.6218, 2.4117, 2.8621)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04312D #310408
analogous
#043116 #04312D #041E31
triadic
#04312D #2D0431 #312D04
tetradic
#04312D #160431 #310408 #1E3104
square
#04312D #160431 #310408 #1E3104
split-complementary
#04312D #31041E #311604
monochromatic
#021C1A #021C1A #04312D #096A61 #0DA295

Accessibility & contrast

On white

14.17
#04312D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#04312D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04312D
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04312D#FFFFFF#000000##FFFFFF
##04312D1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2D
Deuteranopia (green-blind)
#28292D
Tritanopia (blue-blind)
#003230
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #04312d;
/* rgb */ color: rgb(4, 49, 45);
/* oklch */ color: oklch(28.3% 0.047 185.9);
Tailwind
colors: {
  custom: {
    50: '#4d6965',
    500: '#04312d',
    950: '#000000',
  },
}
SCSS
$custom: #04312d;
$custom-light: #4d6965;
$custom-dark: #000000;
JSON
{
  "hex": "#04312d",
  "rgb": {
    "r": 4,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 174.667,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28315,
    "c": 0.04687,
    "h": 185.9
  },
  "luminance": 0.02412
}

Semantic roles & 50–950 ramp

primary
#04312D
secondary
#731D25
accent
#2D3FFB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020605
muted
#787A7A

Preview Lab

Preview with #04312D

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

Preview Lab → · Contrast checker → · Palette generator →

#04312D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva