#407DE0#407DE0

#407DE0 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.0% C 0.164 H 259.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#407DE0
RGBrgb(64, 125, 224)
HSLhsl(217, 72%, 56%)
HSVhsv(217, 71%, 88%)
CMYKcmyk(71.4%, 44.2%, 0%, 12.2%)
CIE-LABlab(53.10, 13.28, -56.21)
CIE-LCHlch(53.10, 57.76, 283.29°)
OKLaboklab(59.98% -0.0294 -0.1609)
OKLCHoklch(59.98% 0.164 259.6)
XYZxyz(22.8977, 21.1366, 73.3796)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DE0 #E0A340
analogous
#40CDE0 #407DE0 #5340E0
triadic
#407DE0 #E0407D #7DE040
tetradic
#407DE0 #E040CD #E0A340 #40E053
square
#407DE0 #E040CD #E0A340 #40E053
split-complementary
#407DE0 #E05340 #CDE040
monochromatic
#17458E #205EC3 #407DE0 #75A1E9 #A9C5F1

Accessibility & contrast

On white

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

On black

5.23
#407DE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DE0
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DE0#FFFFFF#000000##000000
##407DE01.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B87E4
Deuteranopia (green-blind)
#2C78DE
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #407de0;
/* rgb */ color: rgb(64, 125, 224);
/* oklch */ color: oklch(60.0% 0.164 259.6);
Tailwind
colors: {
  custom: {
    50: '#88a2ea',
    500: '#407de0',
    950: '#000000',
  },
}
SCSS
$custom: #407de0;
$custom-light: #88a2ea;
$custom-dark: #000000;
JSON
{
  "hex": "#407de0",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 224
  },
  "hsl": {
    "h": 217.125,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59977,
    "c": 0.16358,
    "h": 259.6
  },
  "luminance": 0.21139
}

Semantic roles & 50–950 ramp

primary
#407DE0
secondary
#DFC69D
accent
#A939EF
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #407DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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