#405EFF#405EFF

#405EFF is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.4% C 0.240 H 268.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#405EFF
RGBrgb(64, 94, 255)
HSLhsl(231, 100%, 63%)
HSVhsv(231, 75%, 100%)
CMYKcmyk(74.9%, 63.1%, 0%, 0%)
CIE-LABlab(47.38, 43.53, -82.81)
CIE-LCHlch(47.38, 93.55, 297.73°)
OKLaboklab(56.36% -0.0048 -0.2395)
OKLCHoklch(56.36% 0.24 268.8)
XYZxyz(24.1608, 16.3127, 96.4637)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405EFF #FFE140
analogous
#40BDFF #405EFF #8240FF
triadic
#405EFF #FF405E #5EFF40
tetradic
#405EFF #FF40BD #FFE140 #40FF82
square
#405EFF #FF40BD #FFE140 #40FF82
split-complementary
#405EFF #FF8240 #BDFF40
monochromatic
#001FC5 #032AFF #405EFF #7D92FF #BAC5FF

Accessibility & contrast

On white

4.93
#405EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#405EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405EFF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405EFF#FFFFFF#000000##FFFFFF
##405EFF1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0068FC
Tritanopia (blue-blind)
#0088A6
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #405eff;
/* rgb */ color: rgb(64, 94, 255);
/* oklch */ color: oklch(56.4% 0.240 268.8);
Tailwind
colors: {
  custom: {
    50: '#908bff',
    500: '#405eff',
    950: '#000000',
  },
}
SCSS
$custom: #405eff;
$custom-light: #908bff;
$custom-dark: #000000;
JSON
{
  "hex": "#405eff",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 255
  },
  "hsl": {
    "h": 230.576,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56355,
    "c": 0.23957,
    "h": 268.8
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

primary
#405EFF
secondary
#F0E5AB
accent
#C100E6
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0C18
muted
#7E7D86

Preview Lab

Preview with #405EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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