#405BD0#405BD0

#405BD0 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.183 H 269.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#405BD0
RGBrgb(64, 91, 208)
HSLhsl(229, 61%, 53%)
HSVhsv(229, 69%, 82%)
CMYKcmyk(69.2%, 56.2%, 0%, 18.4%)
CIE-LABlab(42.95, 28.92, -63.49)
CIE-LCHlch(42.95, 69.77, 294.49°)
OKLaboklab(51.92% -0.0025 -0.1829)
OKLCHoklch(51.92% 0.183 269.2)
XYZxyz(17.2367, 13.1245, 61.2872)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405BD0 #D0B540
analogous
#40A3D0 #405BD0 #6D40D0
triadic
#405BD0 #D0405B #5BD040
tetradic
#405BD0 #D040A3 #D0B540 #40D06D
square
#405BD0 #D040A3 #D0B540 #40D06D
split-complementary
#405BD0 #D06D40 #A3D040
monochromatic
#1E2F78 #2A42A9 #405BD0 #7185DC #A2AFE8

Accessibility & contrast

On white

5.79
#405BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#405BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405BD0
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405BD0#FFFFFF#000000##FFFFFF
##405BD01.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #405bd0;
/* rgb */ color: rgb(64, 91, 208);
/* oklch */ color: oklch(51.9% 0.183 269.2);
Tailwind
colors: {
  custom: {
    50: '#8689df',
    500: '#405bd0',
    950: '#000000',
  },
}
SCSS
$custom: #405bd0;
$custom-light: #8689df;
$custom-dark: #000000;
JSON
{
  "hex": "#405bd0",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 208
  },
  "hsl": {
    "h": 228.75,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51917,
    "c": 0.1829,
    "h": 269.2
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#405BD0
secondary
#D5C997
accent
#C644E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #405BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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