#405EB0#405EB0

#405EB0 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.2% C 0.135 H 266.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#405EB0
RGBrgb(64, 94, 176)
HSLhsl(224, 47%, 47%)
HSVhsv(224, 64%, 69%)
CMYKcmyk(63.6%, 46.6%, 0%, 31%)
CIE-LABlab(41.58, 15.57, -47.11)
CIE-LCHlch(41.58, 49.62, 288.29°)
OKLaboklab(50.19% -0.0083 -0.1346)
OKLCHoklch(50.19% 0.135 266.5)
XYZxyz(13.9508, 12.2287, 42.6911)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405EB0 #B09240
analogous
#4096B0 #405EB0 #5A40B0
triadic
#405EB0 #B0405E #5EB040
tetradic
#405EB0 #B04096 #B09240 #40B05A
square
#405EB0 #B04096 #B09240 #40B05A
split-complementary
#405EB0 #B05A40 #96B040
monochromatic
#1F2E56 #304683 #405EB0 #6680C7 #93A5D8

Accessibility & contrast

On white

6.09
#405EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#405EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405EB0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405EB0#FFFFFF#000000##FFFFFF
##405EB01.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B3
Deuteranopia (green-blind)
#225DAE
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #405eb0;
/* rgb */ color: rgb(64, 94, 176);
/* oklch */ color: oklch(50.2% 0.135 266.5);
Tailwind
colors: {
  custom: {
    50: '#808bc8',
    500: '#405eb0',
    950: '#000000',
  },
}
SCSS
$custom: #405eb0;
$custom-light: #808bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#405eb0",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 223.929,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50185,
    "c": 0.13489,
    "h": 266.5
  },
  "luminance": 0.1223
}

Semantic roles & 50–950 ramp

primary
#405EB0
secondary
#C3B389
accent
#B351D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #405EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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