#04312F#04312F

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

Color values

HEX#04312F
RGBrgb(4, 49, 47)
HSLhsl(177, 85%, 10%)
HSVhsv(177, 92%, 19%)
CMYKcmyk(91.8%, 0%, 4.1%, 80.8%)
CIE-LABlab(17.59, -15.02, -2.96)
CIE-LCHlch(17.59, 15.31, 191.16°)
OKLaboklab(28.4% -0.0455 -0.0083)
OKLCHoklch(28.4% 0.046 190.3)
XYZxyz(1.6612, 2.4275, 3.0698)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04312F #310406
analogous
#043118 #04312F #041C31
triadic
#04312F #2F0431 #312F04
tetradic
#04312F #180431 #310406 #1C3104
square
#04312F #180431 #310406 #1C3104
split-complementary
#04312F #31041C #311804
monochromatic
#021C1B #021C1B #04312F #096A65 #0DA29C

Accessibility & contrast

On white

14.14
#04312F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#04312F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04312F
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04312F#FFFFFF#000000##FFFFFF
##04312F1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #04312f;
/* rgb */ color: rgb(4, 49, 47);
/* oklch */ color: oklch(28.4% 0.046 190.3);
Tailwind
colors: {
  custom: {
    50: '#4e6967',
    500: '#04312f',
    950: '#000000',
  },
}
SCSS
$custom: #04312f;
$custom-light: #4e6967;
$custom-dark: #000000;
JSON
{
  "hex": "#04312f",
  "rgb": {
    "r": 4,
    "g": 49,
    "b": 47
  },
  "hsl": {
    "h": 177.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28399,
    "c": 0.04623,
    "h": 190.3
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#04312F
secondary
#731D21
accent
#2D36FB
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #04312F

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

Preview Lab → · Contrast checker → · Palette generator →

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