#407A87#407A87

#407A87 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.5% C 0.064 H 214.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#407A87
RGBrgb(64, 122, 135)
HSLhsl(191, 36%, 39%)
HSVhsv(191, 53%, 53%)
CMYKcmyk(52.6%, 9.6%, 0%, 47.1%)
CIE-LABlab(47.95, -15.13, -12.92)
CIE-LCHlch(47.95, 19.90, 220.50°)
OKLaboklab(54.54% -0.0529 -0.0357)
OKLCHoklch(54.54% 0.064 214)
XYZxyz(13.4454, 16.7572, 25.4429)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407A87 #874D40
analogous
#408771 #407A87 #405787
triadic
#407A87 #87407A #7A8740
tetradic
#407A87 #714087 #874D40 #578740
square
#407A87 #714087 #874D40 #578740
split-complementary
#407A87 #874057 #877140
monochromatic
#192F34 #2C545D #407A87 #569EAF #7FB6C2

Accessibility & contrast

On white

4.83
#407A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#407A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407A87
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407A87#FFFFFF#000000##FFFFFF
##407A871.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707788
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#127F7E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #407a87;
/* rgb */ color: rgb(64, 122, 135);
/* oklch */ color: oklch(54.5% 0.064 214.0);
Tailwind
colors: {
  custom: {
    50: '#7ba0aa',
    500: '#407a87',
    950: '#000000',
  },
}
SCSS
$custom: #407a87;
$custom-light: #7ba0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#407a87",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 135
  },
  "hsl": {
    "h": 190.986,
    "s": 35.678,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54541,
    "c": 0.06382,
    "h": 214
  },
  "luminance": 0.16758
}

Semantic roles & 50–950 ramp

primary
#407A87
secondary
#AD8076
accent
#715CCC
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#0A0E10
muted
#7C7E7F

Preview Lab

Preview with #407A87

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

Preview Lab → · Contrast checker → · Palette generator →

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