#054239#054239

#054239 is a dark, muted teal. Relative luminance 0.042; OKLCH L 34.1% C 0.059 H 179.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#054239
RGBrgb(5, 66, 57)
HSLhsl(171, 86%, 14%)
HSVhsv(171, 92%, 26%)
CMYKcmyk(92.4%, 0%, 13.6%, 74.1%)
CIE-LABlab(24.40, -20.65, 0.30)
CIE-LCHlch(24.40, 20.65, 179.18°)
OKLaboklab(34.08% -0.0595 0.0005)
OKLCHoklch(34.08% 0.06 179.6)
XYZxyz(2.7489, 4.2238, 4.5405)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054239 #42050E
analogous
#05421B #054239 #052D42
triadic
#054239 #390542 #423905
tetradic
#054239 #1B0542 #42050E #2D4205
square
#054239 #1B0542 #42050E #2D4205
split-complementary
#054239 #42052D #421B05
monochromatic
#021C19 #021C19 #054239 #097B6A #0EB49B

Accessibility & contrast

On white

11.38
#054239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#054239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054239
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054239#FFFFFF#000000##FFFFFF
##0542391.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D39
Deuteranopia (green-blind)
#37383A
Tritanopia (blue-blind)
#00433F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #054239;
/* rgb */ color: rgb(5, 66, 57);
/* oklch */ color: oklch(34.1% 0.059 179.6);
Tailwind
colors: {
  custom: {
    50: '#53776f',
    500: '#054239',
    950: '#000000',
  },
}
SCSS
$custom: #054239;
$custom-light: #53776f;
$custom-dark: #000000;
JSON
{
  "hex": "#054239",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 57
  },
  "hsl": {
    "h": 171.148,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3408,
    "c": 0.0595,
    "h": 179.6
  },
  "luminance": 0.04224
}

Semantic roles & 50–950 ramp

primary
#054239
secondary
#82202F
accent
#2C4AFC
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#030807
muted
#787B7A

Preview Lab

Preview with #054239

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

Preview Lab → · Contrast checker → · Palette generator →

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