#407FD2#407FD2

#407FD2 is a mid, vivid cyan. Relative luminance 0.209; OKLCH L 59.5% C 0.143 H 256.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#407FD2
RGBrgb(64, 127, 210)
HSLhsl(214, 62%, 54%)
HSVhsv(214, 70%, 82%)
CMYKcmyk(69.5%, 39.5%, 0%, 17.6%)
CIE-LABlab(52.86, 7.04, -48.70)
CIE-LCHlch(52.86, 49.20, 278.23°)
OKLaboklab(59.54% -0.034 -0.1388)
OKLCHoklch(59.54% 0.143 256.2)
XYZxyz(21.3323, 20.9196, 63.8739)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FD2 #D29340
analogous
#40C8D2 #407FD2 #4A40D2
triadic
#407FD2 #D2407F #7FD240
tetradic
#407FD2 #D240C8 #D29340 #40D24A
square
#407FD2 #D240C8 #D29340 #40D24A
split-complementary
#407FD2 #D24A40 #C8D240
monochromatic
#1D457B #2961AC #407FD2 #72A0DE #A3C1E9

Accessibility & contrast

On white

4.05
#407FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#407FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FD2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FD2#FFFFFF#000000##000000
##407FD21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5986D5
Deuteranopia (green-blind)
#4278D0
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #407fd2;
/* rgb */ color: rgb(64, 127, 210);
/* oklch */ color: oklch(59.5% 0.143 256.2);
Tailwind
colors: {
  custom: {
    50: '#85a3e0',
    500: '#407fd2',
    950: '#000000',
  },
}
SCSS
$custom: #407fd2;
$custom-light: #85a3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#407fd2",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 214.11,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59535,
    "c": 0.14293,
    "h": 256.2
  },
  "luminance": 0.20922
}

Semantic roles & 50–950 ramp

primary
#407FD2
secondary
#D6BB98
accent
#9F43E5
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #407FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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