#405DB0#405DB0

#405DB0 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.136 H 266.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#405DB0
RGBrgb(64, 93, 176)
HSLhsl(224, 47%, 47%)
HSVhsv(224, 64%, 69%)
CMYKcmyk(63.6%, 47.2%, 0%, 31%)
CIE-LABlab(41.30, 16.21, -47.56)
CIE-LCHlch(41.30, 50.25, 288.83°)
OKLaboklab(49.97% -0.0072 -0.136)
OKLCHoklch(49.97% 0.136 266.9)
XYZxyz(13.8625, 12.0520, 42.6616)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405DB0 #B09340
analogous
#4095B0 #405DB0 #5B40B0
triadic
#405DB0 #B0405D #5DB040
tetradic
#405DB0 #B04095 #B09340 #40B05B
square
#405DB0 #B04095 #B09340 #40B05B
split-complementary
#405DB0 #B05B40 #95B040
monochromatic
#1F2E56 #304583 #405DB0 #667FC7 #93A5D8

Accessibility & contrast

On white

6.16
#405DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#405DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405DB0
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405DB0#FFFFFF#000000##FFFFFF
##405DB01.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3467B3
Deuteranopia (green-blind)
#1F5DAE
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #405db0;
/* rgb */ color: rgb(64, 93, 176);
/* oklch */ color: oklch(50.0% 0.136 266.9);
Tailwind
colors: {
  custom: {
    50: '#808ac8',
    500: '#405db0',
    950: '#000000',
  },
}
SCSS
$custom: #405db0;
$custom-light: #808ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#405db0",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 176
  },
  "hsl": {
    "h": 224.464,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49972,
    "c": 0.13616,
    "h": 266.9
  },
  "luminance": 0.12053
}

Semantic roles & 50–950 ramp

primary
#405DB0
secondary
#C3B489
accent
#B451D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #405DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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