#407CC8#407CC8

#407CC8 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.3% C 0.133 H 255.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#407CC8
RGBrgb(64, 124, 200)
HSLhsl(214, 55%, 52%)
HSVhsv(214, 68%, 78%)
CMYKcmyk(68%, 38%, 0%, 21.6%)
CIE-LABlab(51.47, 5.32, -45.23)
CIE-LCHlch(51.47, 45.55, 276.70°)
OKLaboklab(58.27% -0.0335 -0.1287)
OKLCHoklch(58.27% 0.133 255.4)
XYZxyz(19.7435, 19.6734, 57.3892)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CC8 #C88C40
analogous
#40C0C8 #407CC8 #4840C8
triadic
#407CC8 #C8407C #7CC840
tetradic
#407CC8 #C840C0 #C88C40 #40C848
square
#407CC8 #C840C0 #C88C40 #40C848
split-complementary
#407CC8 #C84840 #C0C840
monochromatic
#20426E #2D5F9D #407CC8 #709DD6 #9FBDE3

Accessibility & contrast

On white

4.26
#407CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#407CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CC8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CC8#FFFFFF#000000##000000
##407CC81.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A82CB
Deuteranopia (green-blind)
#4675C6
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407cc8;
/* rgb */ color: rgb(64, 124, 200);
/* oklch */ color: oklch(58.3% 0.133 255.4);
Tailwind
colors: {
  custom: {
    50: '#83a1d9',
    500: '#407cc8',
    950: '#000000',
  },
}
SCSS
$custom: #407cc8;
$custom-light: #83a1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#407cc8",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 200
  },
  "hsl": {
    "h": 213.529,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58273,
    "c": 0.13299,
    "h": 255.4
  },
  "luminance": 0.19675
}

Semantic roles & 50–950 ramp

primary
#407CC8
secondary
#D0B594
accent
#9D49DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #407CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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