#405FDA#405FDA

#405FDA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.5% C 0.191 H 268.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#405FDA
RGBrgb(64, 95, 218)
HSLhsl(228, 68%, 55%)
HSVhsv(228, 71%, 85%)
CMYKcmyk(70.6%, 56.4%, 0%, 14.5%)
CIE-LABlab(44.71, 29.94, -66.36)
CIE-LCHlch(44.71, 72.80, 294.29°)
OKLaboklab(53.47% -0.0053 -0.1912)
OKLCHoklch(53.47% 0.191 268.4)
XYZxyz(18.8571, 14.3344, 68.0891)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405FDA #DABB40
analogous
#40ACDA #405FDA #6E40DA
triadic
#405FDA #DA405F #5FDA40
tetradic
#405FDA #DA40AC #DABB40 #40DA6E
square
#405FDA #DA40AC #DABB40 #40DA6E
split-complementary
#405FDA #DA6E40 #ACDA40
monochromatic
#1A3086 #2442B9 #405FDA #738AE4 #A7B5EE

Accessibility & contrast

On white

5.43
#405FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#405FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405FDA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405FDA#FFFFFF#000000##FFFFFF
##405FDA1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #405fda;
/* rgb */ color: rgb(64, 95, 218);
/* oklch */ color: oklch(53.5% 0.191 268.4);
Tailwind
colors: {
  custom: {
    50: '#888ce6',
    500: '#405fda',
    950: '#000000',
  },
}
SCSS
$custom: #405fda;
$custom-light: #888ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#405fda",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 227.922,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53466,
    "c": 0.19132,
    "h": 268.4
  },
  "luminance": 0.14336
}

Semantic roles & 50–950 ramp

primary
#405FDA
secondary
#DBCE9B
accent
#C83DEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #405FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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