#407EC8#407EC8

#407EC8 is a mid, vivid cyan. Relative luminance 0.202; OKLCH L 58.7% C 0.131 H 254.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#407EC8
RGBrgb(64, 126, 200)
HSLhsl(213, 55%, 52%)
HSVhsv(213, 68%, 78%)
CMYKcmyk(68%, 37%, 0%, 21.6%)
CIE-LABlab(52.04, 4.10, -44.32)
CIE-LCHlch(52.04, 44.51, 275.29°)
OKLaboklab(58.72% -0.0354 -0.126)
OKLCHoklch(58.72% 0.131 254.3)
XYZxyz(19.9967, 20.1798, 57.4736)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EC8 #C88A40
analogous
#40C2C8 #407EC8 #4640C8
triadic
#407EC8 #C8407E #7EC840
tetradic
#407EC8 #C840C2 #C88A40 #40C846
square
#407EC8 #C840C2 #C88A40 #40C846
split-complementary
#407EC8 #C84640 #C2C840
monochromatic
#20436E #2D609D #407EC8 #709ED6 #9FBEE3

Accessibility & contrast

On white

4.17
#407EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#407EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407EC8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407EC8#FFFFFF#000000##000000
##407EC81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CB
Deuteranopia (green-blind)
#4976C7
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #407ec8;
/* rgb */ color: rgb(64, 126, 200);
/* oklch */ color: oklch(58.7% 0.131 254.3);
Tailwind
colors: {
  custom: {
    50: '#83a3d9',
    500: '#407ec8',
    950: '#000000',
  },
}
SCSS
$custom: #407ec8;
$custom-light: #83a3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#407ec8",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 212.647,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58721,
    "c": 0.1309,
    "h": 254.3
  },
  "luminance": 0.20182
}

Semantic roles & 50–950 ramp

primary
#407EC8
secondary
#D0B594
accent
#9A49DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #407EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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