#054040#054040

#054040 is a dark, muted teal. Relative luminance 0.041; OKLCH L 33.8% C 0.055 H 194.9°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#054040
RGBrgb(5, 64, 64)
HSLhsl(180, 86%, 14%)
HSVhsv(180, 92%, 25%)
CMYKcmyk(92.2%, 0%, 0%, 74.9%)
CIE-LABlab(23.90, -17.17, -5.08)
CIE-LCHlch(23.90, 17.90, 196.49°)
OKLaboklab(33.75% -0.0533 -0.0141)
OKLCHoklch(33.75% 0.055 194.9)
XYZxyz(2.8210, 4.0689, 5.4862)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#054040 #400505
analogous
#054022 #054040 #052240
triadic
#054040 #400540 #404005
tetradic
#054040 #220540 #400505 #224005
square
#054040 #220540 #400505 #224005
split-complementary
#054040 #400522 #402205
monochromatic
#021C1C #021C1C #054040 #097979 #0EB2B2

Accessibility & contrast

On white

11.58
#054040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#054040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #054040
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##054040#FFFFFF#000000##FFFFFF
##0540401.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3C40
Deuteranopia (green-blind)
#333640
Tritanopia (blue-blind)
#004240
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #054040;
/* rgb */ color: rgb(5, 64, 64);
/* oklch */ color: oklch(33.8% 0.055 194.9);
Tailwind
colors: {
  custom: {
    50: '#537574',
    500: '#054040',
    950: '#000000',
  },
}
SCSS
$custom: #054040;
$custom-light: #537574;
$custom-dark: #000000;
JSON
{
  "hex": "#054040",
  "rgb": {
    "r": 5,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 180,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33752,
    "c": 0.05518,
    "h": 194.9
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#054040
secondary
#812020
accent
#2C2CFC
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030808
muted
#787B7B

Preview Lab

Preview with #054040

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

Preview Lab → · Contrast checker → · Palette generator →

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