#405CDA#405CDA

#405CDA is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.9% C 0.195 H 269.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#405CDA
RGBrgb(64, 92, 218)
HSLhsl(229, 68%, 55%)
HSVhsv(229, 71%, 85%)
CMYKcmyk(70.6%, 57.8%, 0%, 14.5%)
CIE-LABlab(43.95, 31.84, -67.59)
CIE-LCHlch(43.95, 74.71, 295.22°)
OKLaboklab(52.9% -0.003 -0.1949)
OKLCHoklch(52.9% 0.195 269.1)
XYZxyz(18.5920, 13.8043, 68.0008)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405CDA #DABE40
analogous
#40A9DA #405CDA #7140DA
triadic
#405CDA #DA405C #5CDA40
tetradic
#405CDA #DA40A9 #DABE40 #40DA71
square
#405CDA #DA40A9 #DABE40 #40DA71
split-complementary
#405CDA #DA7140 #A9DA40
monochromatic
#1A2D86 #243FB9 #405CDA #7388E4 #A7B4EE

Accessibility & contrast

On white

5.58
#405CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#405CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405CDA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405CDA#FFFFFF#000000##FFFFFF
##405CDA1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405cda;
/* rgb */ color: rgb(64, 92, 218);
/* oklch */ color: oklch(52.9% 0.195 269.1);
Tailwind
colors: {
  custom: {
    50: '#8889e6',
    500: '#405cda',
    950: '#000000',
  },
}
SCSS
$custom: #405cda;
$custom-light: #8889e6;
$custom-dark: #000000;
JSON
{
  "hex": "#405cda",
  "rgb": {
    "r": 64,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 229.091,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.529,
    "c": 0.19493,
    "h": 269.1
  },
  "luminance": 0.13806
}

Semantic roles & 50–950 ramp

primary
#405CDA
secondary
#DBCF9B
accent
#CB3DEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #405CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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