#407FD6#407FD6

#407FD6 is a mid, vivid cyan. Relative luminance 0.211; OKLCH L 59.8% C 0.148 H 257.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#407FD6
RGBrgb(64, 127, 214)
HSLhsl(215, 65%, 55%)
HSVhsv(215, 70%, 84%)
CMYKcmyk(70.1%, 40.7%, 0%, 16.1%)
CIE-LABlab(53.08, 8.47, -50.61)
CIE-LCHlch(53.08, 51.31, 279.50°)
OKLaboklab(59.78% -0.0331 -0.1444)
OKLCHoklch(59.78% 0.148 257.1)
XYZxyz(21.8369, 21.1215, 66.5313)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FD6 #D69740
analogous
#40CAD6 #407FD6 #4C40D6
triadic
#407FD6 #D6407F #7FD640
tetradic
#407FD6 #D640CA #D69740 #40D64C
square
#407FD6 #D640CA #D69740 #40D64C
split-complementary
#407FD6 #D64C40 #CAD640
monochromatic
#1B4680 #2661B2 #407FD6 #72A1E1 #A5C3EC

Accessibility & contrast

On white

4.02
#407FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#407FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FD6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FD6#FFFFFF#000000##000000
##407FD61.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5686D9
Deuteranopia (green-blind)
#3E78D4
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #407fd6;
/* rgb */ color: rgb(64, 127, 214);
/* oklch */ color: oklch(59.8% 0.148 257.1);
Tailwind
colors: {
  custom: {
    50: '#86a3e3',
    500: '#407fd6',
    950: '#000000',
  },
}
SCSS
$custom: #407fd6;
$custom-light: #86a3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#407fd6",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 214
  },
  "hsl": {
    "h": 214.8,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59779,
    "c": 0.14818,
    "h": 257.1
  },
  "luminance": 0.21124
}

Semantic roles & 50–950 ramp

primary
#407FD6
secondary
#D9BE99
accent
#A140E8
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #407FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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