#05402B#05402B

#05402B is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.0% C 0.068 H 162.9°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#05402B
RGBrgb(5, 64, 43)
HSLhsl(159, 86%, 14%)
HSVhsv(159, 92%, 25%)
CMYKcmyk(92.2%, 0%, 32.8%, 74.9%)
CIE-LABlab(23.25, -23.89, 7.87)
CIE-LCHlch(23.25, 25.15, 161.75°)
OKLaboklab(33.01% -0.0652 0.02)
OKLCHoklch(33.01% 0.068 162.9)
XYZxyz(2.3318, 3.8732, 2.9097)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05402B #40051A
analogous
#05400D #05402B #053740
triadic
#05402B #2B0540 #402B05
tetradic
#05402B #0D0540 #40051A #374005
square
#05402B #0D0540 #40051A #374005
split-complementary
#05402B #400537 #400D05
monochromatic
#021C13 #021C13 #05402B #097951 #0EB277

Accessibility & contrast

On white

11.83
#05402B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#05402B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05402B
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05402B#FFFFFF#000000##FFFFFF
##05402B1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A2A
Deuteranopia (green-blind)
#38352C
Tritanopia (blue-blind)
#00403A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #05402b;
/* rgb */ color: rgb(5, 64, 43);
/* oklch */ color: oklch(33.0% 0.068 162.9);
Tailwind
colors: {
  custom: {
    50: '#527564',
    500: '#05402b',
    950: '#000000',
  },
}
SCSS
$custom: #05402b;
$custom-light: #527564;
$custom-dark: #000000;
JSON
{
  "hex": "#05402b",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 43
  },
  "hsl": {
    "h": 158.644,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33005,
    "c": 0.06823,
    "h": 162.9
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#05402B
secondary
#812043
accent
#2C76FC
background
#F4F7F5
surface
#E7EDEA
border
#C3C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #05402B

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

Preview Lab → · Contrast checker → · Palette generator →

#05402B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva