#407A7C#407A7C

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

Color values

HEX#407A7C
RGBrgb(64, 122, 124)
HSLhsl(182, 32%, 37%)
HSVhsv(182, 48%, 49%)
CMYKcmyk(48.4%, 1.6%, 0%, 51.4%)
CIE-LABlab(47.58, -18.35, -6.98)
CIE-LCHlch(47.58, 19.63, 200.83°)
OKLaboklab(54.11% -0.0577 -0.0192)
OKLCHoklch(54.11% 0.061 198.4)
XYZxyz(12.7105, 16.4632, 21.5728)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A7C #7C4240
analogous
#407C60 #407A7C #405C7C
triadic
#407A7C #7C407A #7A7C40
tetradic
#407A7C #60407C #7C4240 #5C7C40
square
#407A7C #60407C #7C4240 #5C7C40
split-complementary
#407A7C #7C405C #7C6040
monochromatic
#162B2B #2B5254 #407A7C #55A2A4 #7BB9BB

Accessibility & contrast

On white

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

On black

4.29
#407A7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##407A7C#FFFFFF#000000##FFFFFF
##407A7C1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73757C
Deuteranopia (green-blind)
#696E7C
Tritanopia (blue-blind)
#1F7E7A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #407a7c;
/* rgb */ color: rgb(64, 122, 124);
/* oklch */ color: oklch(54.1% 0.061 198.4);
Tailwind
colors: {
  custom: {
    50: '#7aa0a1',
    500: '#407a7c',
    950: '#000000',
  },
}
SCSS
$custom: #407a7c;
$custom-light: #7aa0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#407a7c",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 124
  },
  "hsl": {
    "h": 182,
    "s": 31.915,
    "l": 36.863
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.06085,
    "h": 198.4
  },
  "luminance": 0.16464
}

Semantic roles & 50–950 ramp

primary
#407A7C
secondary
#A67472
accent
#6360C8
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0F
muted
#7B7E7E

Preview Lab

Preview with #407A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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