#407C8D#407C8D

#407C8D is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.3% C 0.068 H 218.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#407C8D
RGBrgb(64, 124, 141)
HSLhsl(193, 38%, 40%)
HSVhsv(193, 55%, 55%)
CMYKcmyk(54.6%, 12.1%, 0%, 44.7%)
CIE-LABlab(48.79, -14.42, -15.19)
CIE-LCHlch(48.79, 20.94, 226.48°)
OKLaboklab(55.29% -0.0528 -0.0421)
OKLCHoklch(55.29% 0.068 218.5)
XYZxyz(14.1279, 17.4271, 27.8134)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407C8D #8D5140
analogous
#408D78 #407C8D #40558D
triadic
#407C8D #8D407C #7C8D40
tetradic
#407C8D #78408D #8D5140 #558D40
square
#407C8D #78408D #8D5140 #558D40
split-complementary
#407C8D #8D4055 #8D7840
monochromatic
#1A3239 #2D5763 #407C8D #579FB3 #81B7C6

Accessibility & contrast

On white

4.68
#407C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#407C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407C8D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407C8D#FFFFFF#000000##FFFFFF
##407C8D1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71798E
Deuteranopia (green-blind)
#66708D
Tritanopia (blue-blind)
#048281
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #407c8d;
/* rgb */ color: rgb(64, 124, 141);
/* oklch */ color: oklch(55.3% 0.068 218.5);
Tailwind
colors: {
  custom: {
    50: '#7ba2ae',
    500: '#407c8d',
    950: '#000000',
  },
}
SCSS
$custom: #407c8d;
$custom-light: #7ba2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#407c8d",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 141
  },
  "hsl": {
    "h": 193.247,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55286,
    "c": 0.0675,
    "h": 218.5
  },
  "luminance": 0.17428
}

Semantic roles & 50–950 ramp

primary
#407C8D
secondary
#B08578
accent
#745ACE
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#0A0F10
muted
#7C7E7F

Preview Lab

Preview with #407C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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