#407ED3#407ED3

#407ED3 is a mid, vivid cyan. Relative luminance 0.207; OKLCH L 59.4% C 0.145 H 256.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#407ED3
RGBrgb(64, 126, 211)
HSLhsl(215, 63%, 54%)
HSVhsv(215, 70%, 83%)
CMYKcmyk(69.7%, 40.3%, 0%, 17.3%)
CIE-LABlab(52.63, 8.01, -49.63)
CIE-LCHlch(52.63, 50.27, 279.17°)
OKLaboklab(59.38% -0.0329 -0.1416)
OKLCHoklch(59.38% 0.145 256.9)
XYZxyz(21.3288, 20.7126, 64.4893)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407ED3 #D39540
analogous
#40C8D3 #407ED3 #4C40D3
triadic
#407ED3 #D3407E #7ED340
tetradic
#407ED3 #D340C8 #D39540 #40D34C
square
#407ED3 #D340C8 #D39540 #40D34C
split-complementary
#407ED3 #D34C40 #C8D340
monochromatic
#1D457C #2860AE #407ED3 #72A0DE #A3C1EA

Accessibility & contrast

On white

4.08
#407ED3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#407ED3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407ED3
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407ED3#FFFFFF#000000##000000
##407ED31.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5685D6
Deuteranopia (green-blind)
#3F77D1
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #407ed3;
/* rgb */ color: rgb(64, 126, 211);
/* oklch */ color: oklch(59.4% 0.145 256.9);
Tailwind
colors: {
  custom: {
    50: '#85a2e1',
    500: '#407ed3',
    950: '#000000',
  },
}
SCSS
$custom: #407ed3;
$custom-light: #85a2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#407ed3",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 211
  },
  "hsl": {
    "h": 214.694,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59376,
    "c": 0.14532,
    "h": 256.9
  },
  "luminance": 0.20715
}

Semantic roles & 50–950 ramp

primary
#407ED3
secondary
#D7BC98
accent
#A142E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #407ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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