#054031#054031

#054031 is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.2% C 0.063 H 170.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#054031
RGBrgb(5, 64, 49)
HSLhsl(165, 86%, 14%)
HSVhsv(165, 92%, 25%)
CMYKcmyk(92.2%, 0%, 23.4%, 74.9%)
CIE-LABlab(23.41, -22.16, 4.15)
CIE-LCHlch(23.41, 22.54, 169.38°)
OKLaboklab(33.19% -0.0617 0.0106)
OKLCHoklch(33.19% 0.063 170.3)
XYZxyz(2.4501, 3.9205, 3.5327)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054031 #400514
analogous
#054013 #054031 #053140
triadic
#054031 #310540 #403105
tetradic
#054031 #130540 #400514 #314005
square
#054031 #130540 #400514 #314005
split-complementary
#054031 #400531 #401305
monochromatic
#021C16 #021C16 #054031 #09795C #0EB288

Accessibility & contrast

On white

11.77
#054031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#054031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054031
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054031#FFFFFF#000000##FFFFFF
##0540311.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B30
Deuteranopia (green-blind)
#373632
Tritanopia (blue-blind)
#00413C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #054031;
/* rgb */ color: rgb(5, 64, 49);
/* oklch */ color: oklch(33.2% 0.063 170.3);
Tailwind
colors: {
  custom: {
    50: '#527569',
    500: '#054031',
    950: '#000000',
  },
}
SCSS
$custom: #054031;
$custom-light: #527569;
$custom-dark: #000000;
JSON
{
  "hex": "#054031",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 49
  },
  "hsl": {
    "h": 164.746,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33188,
    "c": 0.06264,
    "h": 170.3
  },
  "luminance": 0.03921
}

Semantic roles & 50–950 ramp

primary
#054031
secondary
#812039
accent
#2C61FC
background
#F4F7F6
surface
#E7EDEB
border
#C3C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #054031

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

Preview Lab → · Contrast checker → · Palette generator →

#054031 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva