#407EDA#407EDA

#407EDA is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.8% C 0.155 H 258.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#407EDA
RGBrgb(64, 126, 218)
HSLhsl(216, 68%, 55%)
HSVhsv(216, 71%, 85%)
CMYKcmyk(70.6%, 42.2%, 0%, 14.5%)
CIE-LABlab(53.03, 10.51, -52.95)
CIE-LCHlch(53.03, 53.98, 281.22°)
OKLaboklab(59.81% -0.0314 -0.1513)
OKLCHoklch(59.81% 0.155 258.3)
XYZxyz(22.2255, 21.0713, 69.2119)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407EDA #DA9C40
analogous
#40CBDA #407EDA #4F40DA
triadic
#407EDA #DA407E #7EDA40
tetradic
#407EDA #DA40CB #DA9C40 #40DA4F
square
#407EDA #DA40CB #DA9C40 #40DA4F
split-complementary
#407EDA #DA4F40 #CBDA40
monochromatic
#1A4586 #2460B9 #407EDA #73A1E4 #A7C3EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407EDA#FFFFFF#000000##000000
##407EDA1.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)
#5286DE
Deuteranopia (green-blind)
#3778D8
Tritanopia (blue-blind)
#0093A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #407eda;
/* rgb */ color: rgb(64, 126, 218);
/* oklch */ color: oklch(59.8% 0.155 258.3);
Tailwind
colors: {
  custom: {
    50: '#87a2e6',
    500: '#407eda',
    950: '#000000',
  },
}
SCSS
$custom: #407eda;
$custom-light: #87a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#407eda",
  "rgb": {
    "r": 64,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 215.844,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59809,
    "c": 0.15455,
    "h": 258.3
  },
  "luminance": 0.21074
}

Semantic roles & 50–950 ramp

primary
#407EDA
secondary
#DBC19B
accent
#A53DEA
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0F16
muted
#7D7E84

Preview Lab

Preview with #407EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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