#054742#054742

#054742 is a dark, moderate teal. Relative luminance 0.049; OKLCH L 35.9% C 0.061 H 186.7°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#054742
RGBrgb(5, 71, 66)
HSLhsl(175, 87%, 15%)
HSVhsv(175, 93%, 28%)
CMYKcmyk(93%, 0%, 7%, 72.2%)
CIE-LABlab(26.54, -20.26, -2.47)
CIE-LCHlch(26.54, 20.42, 186.95°)
OKLaboklab(35.93% -0.0602 -0.007)
OKLCHoklch(35.93% 0.061 186.7)
XYZxyz(3.2987, 4.9317, 5.9312)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054742 #47050A
analogous
#054721 #054742 #052B47
triadic
#054742 #420547 #474205
tetradic
#054742 #210547 #47050A #2B4705
square
#054742 #210547 #47050A #2B4705
split-complementary
#054742 #47052B #472105
monochromatic
#021D1B #021D1B #054742 #098077 #0DB9AC

Accessibility & contrast

On white

10.57
#054742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#054742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054742
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054742#FFFFFF#000000##FFFFFF
##0547421.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434242
Deuteranopia (green-blind)
#3A3C43
Tritanopia (blue-blind)
#004945
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #054742;
/* rgb */ color: rgb(5, 71, 66);
/* oklch */ color: oklch(35.9% 0.061 186.7);
Tailwind
colors: {
  custom: {
    50: '#557a76',
    500: '#054742',
    950: '#000000',
  },
}
SCSS
$custom: #054742;
$custom-light: #557a76;
$custom-dark: #000000;
JSON
{
  "hex": "#054742",
  "rgb": {
    "r": 5,
    "g": 71,
    "b": 66
  },
  "hsl": {
    "h": 175.455,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35928,
    "c": 0.06065,
    "h": 186.7
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#054742
secondary
#872129
accent
#2B3BFD
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030908
muted
#787B7B

Preview Lab

Preview with #054742

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

Preview Lab → · Contrast checker → · Palette generator →

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