#407ED2#407ED2

#407ED2 is a mid, vivid cyan. Relative luminance 0.207; OKLCH L 59.3% C 0.144 H 256.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#407ED2
RGBrgb(64, 126, 210)
HSLhsl(215, 62%, 54%)
HSVhsv(215, 70%, 82%)
CMYKcmyk(69.5%, 40%, 0%, 17.6%)
CIE-LABlab(52.58, 7.65, -49.15)
CIE-LCHlch(52.58, 49.74, 278.85°)
OKLaboklab(59.32% -0.0331 -0.1401)
OKLCHoklch(59.32% 0.144 256.7)
XYZxyz(21.2038, 20.6626, 63.8311)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407ED2 #D29440
analogous
#40C7D2 #407ED2 #4B40D2
triadic
#407ED2 #D2407E #7ED240
tetradic
#407ED2 #D240C7 #D29440 #40D24B
square
#407ED2 #D240C7 #D29440 #40D24B
split-complementary
#407ED2 #D24B40 #C7D240
monochromatic
#1D457B #2960AC #407ED2 #729FDE #A3C1E9

Accessibility & contrast

On white

4.09
#407ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#407ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407ED2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407ED2#FFFFFF#000000##000000
##407ED21.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5785D5
Deuteranopia (green-blind)
#4077D0
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #407ed2;
/* rgb */ color: rgb(64, 126, 210);
/* oklch */ color: oklch(59.3% 0.144 256.7);
Tailwind
colors: {
  custom: {
    50: '#85a2e0',
    500: '#407ed2',
    950: '#000000',
  },
}
SCSS
$custom: #407ed2;
$custom-light: #85a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#407ed2",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 210
  },
  "hsl": {
    "h": 214.521,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59315,
    "c": 0.144,
    "h": 256.7
  },
  "luminance": 0.20665
}

Semantic roles & 50–950 ramp

primary
#407ED2
secondary
#D6BC98
accent
#A043E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #407ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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