#405EDA#405EDA

#405EDA is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.193 H 268.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#405EDA
RGBrgb(64, 94, 218)
HSLhsl(228, 68%, 55%)
HSVhsv(228, 71%, 85%)
CMYKcmyk(70.6%, 56.9%, 0%, 14.5%)
CIE-LABlab(44.45, 30.57, -66.77)
CIE-LCHlch(44.45, 73.44, 294.60°)
OKLaboklab(53.28% -0.0045 -0.1925)
OKLCHoklch(53.28% 0.193 268.6)
XYZxyz(18.7676, 14.1554, 68.0593)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405EDA #DABC40
analogous
#40ABDA #405EDA #6F40DA
triadic
#405EDA #DA405E #5EDA40
tetradic
#405EDA #DA40AB #DABC40 #40DA6F
square
#405EDA #DA40AB #DABC40 #40DA6F
split-complementary
#405EDA #DA6F40 #ABDA40
monochromatic
#1A2F86 #2441B9 #405EDA #7389E4 #A7B4EE

Accessibility & contrast

On white

5.48
#405EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#405EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405EDA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405EDA#FFFFFF#000000##FFFFFF
##405EDA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #405eda;
/* rgb */ color: rgb(64, 94, 218);
/* oklch */ color: oklch(53.3% 0.193 268.6);
Tailwind
colors: {
  custom: {
    50: '#888be6',
    500: '#405eda',
    950: '#000000',
  },
}
SCSS
$custom: #405eda;
$custom-light: #888be6;
$custom-dark: #000000;
JSON
{
  "hex": "#405eda",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 228.312,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53276,
    "c": 0.19252,
    "h": 268.6
  },
  "luminance": 0.14157
}

Semantic roles & 50–950 ramp

primary
#405EDA
secondary
#DBCF9B
accent
#C93DEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #405EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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