#407FD5#407FD5

#407FD5 is a mid, vivid cyan. Relative luminance 0.211; OKLCH L 59.7% C 0.147 H 256.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#407FD5
RGBrgb(64, 127, 213)
HSLhsl(215, 64%, 54%)
HSVhsv(215, 70%, 84%)
CMYKcmyk(70%, 40.4%, 0%, 16.5%)
CIE-LABlab(53.03, 8.11, -50.13)
CIE-LCHlch(53.03, 50.78, 279.19°)
OKLaboklab(59.72% -0.0334 -0.143)
OKLCHoklch(59.72% 0.147 256.9)
XYZxyz(21.7096, 21.0705, 65.8608)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FD5 #D59640
analogous
#40C9D5 #407FD5 #4C40D5
triadic
#407FD5 #D5407F #7FD540
tetradic
#407FD5 #D540C9 #D59640 #40D54C
square
#407FD5 #D540C9 #D59640 #40D54C
split-complementary
#407FD5 #D54C40 #C9D540
monochromatic
#1C467F #2761B1 #407FD5 #72A1E0 #A4C2EB

Accessibility & contrast

On white

4.03
#407FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#407FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FD5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FD5#FFFFFF#000000##000000
##407FD51.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5786D8
Deuteranopia (green-blind)
#3F78D3
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #407fd5;
/* rgb */ color: rgb(64, 127, 213);
/* oklch */ color: oklch(59.7% 0.147 256.9);
Tailwind
colors: {
  custom: {
    50: '#86a3e2',
    500: '#407fd5',
    950: '#000000',
  },
}
SCSS
$custom: #407fd5;
$custom-light: #86a3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#407fd5",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 213
  },
  "hsl": {
    "h": 214.631,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59717,
    "c": 0.14686,
    "h": 256.9
  },
  "luminance": 0.21073
}

Semantic roles & 50–950 ramp

primary
#407FD5
secondary
#D8BD99
accent
#A141E7
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #407FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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