#407A7D#407A7D

#407A7D is a mid, moderate teal. Relative luminance 0.165; OKLCH L 54.2% C 0.061 H 199.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#407A7D
RGBrgb(64, 122, 125)
HSLhsl(183, 32%, 37%)
HSVhsv(183, 49%, 49%)
CMYKcmyk(48.8%, 2.4%, 0%, 51%)
CIE-LABlab(47.61, -18.06, -7.52)
CIE-LCHlch(47.61, 19.57, 202.61°)
OKLaboklab(54.15% -0.0573 -0.0207)
OKLCHoklch(54.15% 0.061 199.9)
XYZxyz(12.7741, 16.4887, 21.9075)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A7D #7D4340
analogous
#407D62 #407A7D #405C7D
triadic
#407A7D #7D407A #7A7D40
tetradic
#407A7D #62407D #7D4340 #5C7D40
square
#407A7D #62407D #7D4340 #5C7D40
split-complementary
#407A7D #7D405C #7D6240
monochromatic
#172B2C #2B5255 #407A7D #55A2A5 #7CB9BC

Accessibility & contrast

On white

4.89
#407A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#407A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407A7D
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407A7D#FFFFFF#000000##FFFFFF
##407A7D1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73757D
Deuteranopia (green-blind)
#686E7D
Tritanopia (blue-blind)
#1E7E7B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #407a7d;
/* rgb */ color: rgb(64, 122, 125);
/* oklch */ color: oklch(54.2% 0.061 199.9);
Tailwind
colors: {
  custom: {
    50: '#7aa0a2',
    500: '#407a7d',
    950: '#000000',
  },
}
SCSS
$custom: #407a7d;
$custom-light: #7aa0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#407a7d",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 125
  },
  "hsl": {
    "h": 182.951,
    "s": 32.275,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54151,
    "c": 0.06092,
    "h": 199.9
  },
  "luminance": 0.1649
}

Semantic roles & 50–950 ramp

primary
#407A7D
secondary
#A67573
accent
#655FC8
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0F
muted
#7B7E7E

Preview Lab

Preview with #407A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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