#405BDA#405BDA

#405BDA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.7% C 0.196 H 269.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#405BDA
RGBrgb(64, 91, 218)
HSLhsl(229, 68%, 55%)
HSVhsv(229, 71%, 85%)
CMYKcmyk(70.6%, 58.3%, 0%, 14.5%)
CIE-LABlab(43.70, 32.47, -68.00)
CIE-LCHlch(43.70, 75.35, 295.52°)
OKLaboklab(52.71% -0.0023 -0.1961)
OKLCHoklch(52.71% 0.196 269.3)
XYZxyz(18.5060, 13.6322, 67.9721)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405BDA #DABF40
analogous
#40A8DA #405BDA #7240DA
triadic
#405BDA #DA405B #5BDA40
tetradic
#405BDA #DA40A8 #DABF40 #40DA72
square
#405BDA #DA40A8 #DABF40 #40DA72
split-complementary
#405BDA #DA7240 #A8DA40
monochromatic
#1A2D86 #243EB9 #405BDA #7387E4 #A7B3EE

Accessibility & contrast

On white

5.63
#405BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#405BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405BDA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405BDA#FFFFFF#000000##FFFFFF
##405BDA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #405bda;
/* rgb */ color: rgb(64, 91, 218);
/* oklch */ color: oklch(52.7% 0.196 269.3);
Tailwind
colors: {
  custom: {
    50: '#8889e6',
    500: '#405bda',
    950: '#000000',
  },
}
SCSS
$custom: #405bda;
$custom-light: #8889e6;
$custom-dark: #000000;
JSON
{
  "hex": "#405bda",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 229.481,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52713,
    "c": 0.19613,
    "h": 269.3
  },
  "luminance": 0.13634
}

Semantic roles & 50–950 ramp

primary
#405BDA
secondary
#DBD09B
accent
#CC3DEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #405BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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