#054237#054237

#054237 is a dark, moderate teal. Relative luminance 0.042; OKLCH L 34.0% C 0.061 H 176.5°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#054237
RGBrgb(5, 66, 55)
HSLhsl(169, 86%, 14%)
HSVhsv(169, 92%, 26%)
CMYKcmyk(92.4%, 0%, 16.7%, 74.1%)
CIE-LABlab(24.34, -21.30, 1.53)
CIE-LCHlch(24.34, 21.35, 175.90°)
OKLaboklab(34.01% -0.0606 0.0037)
OKLCHoklch(34.01% 0.061 176.5)
XYZxyz(2.7000, 4.2042, 4.2829)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054237 #420510
analogous
#054219 #054237 #052F42
triadic
#054237 #370542 #423705
tetradic
#054237 #190542 #420510 #2F4205
square
#054237 #190542 #420510 #2F4205
split-complementary
#054237 #42052F #421905
monochromatic
#021C18 #021C18 #054237 #097B66 #0EB496

Accessibility & contrast

On white

11.41
#054237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #054237
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054237#FFFFFF#000000##FFFFFF
##0542371.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D37
Deuteranopia (green-blind)
#373838
Tritanopia (blue-blind)
#00433F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #054237;
/* rgb */ color: rgb(5, 66, 55);
/* oklch */ color: oklch(34.0% 0.061 176.5);
Tailwind
colors: {
  custom: {
    50: '#53776d',
    500: '#054237',
    950: '#000000',
  },
}
SCSS
$custom: #054237;
$custom-light: #53776d;
$custom-dark: #000000;
JSON
{
  "hex": "#054237",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 55
  },
  "hsl": {
    "h": 169.18,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34008,
    "c": 0.06074,
    "h": 176.5
  },
  "luminance": 0.04205
}

Semantic roles & 50–950 ramp

primary
#054237
secondary
#822032
accent
#2C51FC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030807
muted
#787B7A

Preview Lab

Preview with #054237

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

Preview Lab → · Contrast checker → · Palette generator →

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