#054235#054235

#054235 is a dark, moderate teal. Relative luminance 0.042; OKLCH L 33.9% C 0.062 H 173.6°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#054235
RGBrgb(5, 66, 53)
HSLhsl(167, 86%, 14%)
HSVhsv(167, 92%, 26%)
CMYKcmyk(92.4%, 0%, 19.7%, 74.1%)
CIE-LABlab(24.28, -21.93, 2.76)
CIE-LCHlch(24.28, 22.10, 172.83°)
OKLaboklab(33.94% -0.0618 0.007)
OKLCHoklch(33.94% 0.062 173.6)
XYZxyz(2.6531, 4.1854, 4.0355)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054235 #420512
analogous
#054217 #054235 #053142
triadic
#054235 #350542 #423505
tetradic
#054235 #170542 #420512 #314205
square
#054235 #170542 #420512 #314205
split-complementary
#054235 #420531 #421705
monochromatic
#021C17 #021C17 #054235 #097B63 #0EB490

Accessibility & contrast

On white

11.43
#054235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #054235
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054235#FFFFFF#000000##FFFFFF
##0542351.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D34
Deuteranopia (green-blind)
#383736
Tritanopia (blue-blind)
#00433E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #054235;
/* rgb */ color: rgb(5, 66, 53);
/* oklch */ color: oklch(33.9% 0.062 173.6);
Tailwind
colors: {
  custom: {
    50: '#53776c',
    500: '#054235',
    950: '#000000',
  },
}
SCSS
$custom: #054235;
$custom-light: #53776c;
$custom-dark: #000000;
JSON
{
  "hex": "#054235",
  "rgb": {
    "r": 5,
    "g": 66,
    "b": 53
  },
  "hsl": {
    "h": 167.213,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33939,
    "c": 0.06216,
    "h": 173.6
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#054235
secondary
#822035
accent
#2C58FC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #054235

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

Preview Lab → · Contrast checker → · Palette generator →

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