#407DE3#407DE3

#407DE3 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.2% C 0.168 H 260.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#407DE3
RGBrgb(64, 125, 227)
HSLhsl(218, 74%, 57%)
HSVhsv(218, 72%, 89%)
CMYKcmyk(71.8%, 44.9%, 0%, 11%)
CIE-LABlab(53.28, 14.36, -57.61)
CIE-LCHlch(53.28, 59.37, 283.99°)
OKLaboklab(60.17% -0.0289 -0.165)
OKLCHoklch(60.17% 0.168 260.1)
XYZxyz(23.3081, 21.3007, 75.5412)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DE3 #E3A640
analogous
#40CFE3 #407DE3 #5540E3
triadic
#407DE3 #E3407D #7DE340
tetradic
#407DE3 #E340CF #E3A640 #40E355
square
#407DE3 #E340CF #E3A640 #40E355
split-complementary
#407DE3 #E35540 #CFE340
monochromatic
#164593 #1D5DC8 #407DE3 #75A1EB #ABC6F3

Accessibility & contrast

On white

3.99
#407DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#407DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DE3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DE3#FFFFFF#000000##000000
##407DE31.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4987E7
Deuteranopia (green-blind)
#2778E1
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #407de3;
/* rgb */ color: rgb(64, 125, 227);
/* oklch */ color: oklch(60.2% 0.168 260.1);
Tailwind
colors: {
  custom: {
    50: '#88a2ec',
    500: '#407de3',
    950: '#000000',
  },
}
SCSS
$custom: #407de3;
$custom-light: #88a2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#407de3",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 227
  },
  "hsl": {
    "h": 217.546,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60172,
    "c": 0.16754,
    "h": 260.1
  },
  "luminance": 0.21303
}

Semantic roles & 50–950 ramp

primary
#407DE3
secondary
#E1C89E
accent
#AB37F1
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #407DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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