#407F82#407F82

#407F82 is a mid, moderate teal. Relative luminance 0.179; OKLCH L 55.6% C 0.065 H 199.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#407F82
RGBrgb(64, 127, 130)
HSLhsl(183, 34%, 38%)
HSVhsv(183, 51%, 51%)
CMYKcmyk(50.8%, 2.3%, 0%, 49%)
CIE-LABlab(49.35, -19.32, -7.88)
CIE-LCHlch(49.35, 20.86, 202.18°)
OKLaboklab(55.6% -0.0612 -0.0217)
OKLCHoklch(55.6% 0.065 199.5)
XYZxyz(13.7314, 17.8792, 23.8422)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407F82 #824340
analogous
#408264 #407F82 #405E82
triadic
#407F82 #82407F #7F8240
tetradic
#407F82 #644082 #824340 #5E8240
square
#407F82 #644082 #824340 #5E8240
split-complementary
#407F82 #82405E #826440
monochromatic
#182F30 #2C5759 #407F82 #54A7AB #7DBCBF

Accessibility & contrast

On white

4.59
#407F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#407F82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #407F82
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407F82#FFFFFF#000000##FFFFFF
##407F821.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777A82
Deuteranopia (green-blind)
#6C7282
Tritanopia (blue-blind)
#168380
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #407f82;
/* rgb */ color: rgb(64, 127, 130);
/* oklch */ color: oklch(55.6% 0.065 199.5);
Tailwind
colors: {
  custom: {
    50: '#7ba4a6',
    500: '#407f82',
    950: '#000000',
  },
}
SCSS
$custom: #407f82;
$custom-light: #7ba4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#407f82",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 130
  },
  "hsl": {
    "h": 182.727,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.55604,
    "c": 0.06494,
    "h": 199.5
  },
  "luminance": 0.1788
}

Semantic roles & 50–950 ramp

primary
#407F82
secondary
#AA7774
accent
#635ECA
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A0F0F
muted
#7C7F7F

Preview Lab

Preview with #407F82

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

Preview Lab → · Contrast checker → · Palette generator →

#407F82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva