#04312E#04312E

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

Color values

HEX#04312E
RGBrgb(4, 49, 46)
HSLhsl(176, 85%, 10%)
HSVhsv(176, 92%, 19%)
CMYKcmyk(91.8%, 0%, 6.1%, 80.8%)
CIE-LABlab(17.55, -15.38, -2.32)
CIE-LCHlch(17.55, 15.55, 188.59°)
OKLaboklab(28.36% -0.046 -0.0065)
OKLCHoklch(28.36% 0.047 188.1)
XYZxyz(1.6413, 2.4195, 2.9647)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04312E #310407
analogous
#043117 #04312E #041D31
triadic
#04312E #2E0431 #312E04
tetradic
#04312E #170431 #310407 #1D3104
square
#04312E #170431 #310407 #1D3104
split-complementary
#04312E #31041D #311704
monochromatic
#021C1B #021C1B #04312E #096A63 #0DA298

Accessibility & contrast

On white

14.15
#04312E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04312E
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04312E#FFFFFF#000000##FFFFFF
##04312E1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2E
Deuteranopia (green-blind)
#27292E
Tritanopia (blue-blind)
#003330
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #04312e;
/* rgb */ color: rgb(4, 49, 46);
/* oklch */ color: oklch(28.4% 0.047 188.1);
Tailwind
colors: {
  custom: {
    50: '#4e6966',
    500: '#04312e',
    950: '#000000',
  },
}
SCSS
$custom: #04312e;
$custom-light: #4e6966;
$custom-dark: #000000;
JSON
{
  "hex": "#04312e",
  "rgb": {
    "r": 4,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 176,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28356,
    "c": 0.04651,
    "h": 188.1
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#04312E
secondary
#731D23
accent
#2D3AFB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #04312E

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

Preview Lab → · Contrast checker → · Palette generator →

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