#405DA1#405DA1

#405DA1 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 49.0% C 0.115 H 265.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#405DA1
RGBrgb(64, 93, 161)
HSLhsl(222, 43%, 44%)
HSVhsv(222, 60%, 63%)
CMYKcmyk(60.2%, 42.2%, 0%, 36.9%)
CIE-LABlab(40.40, 10.91, -40.13)
CIE-LCHlch(40.40, 41.58, 285.21°)
OKLaboklab(48.99% -0.0099 -0.1141)
OKLCHoklch(48.99% 0.115 265.1)
XYZxyz(12.4595, 11.4909, 35.2727)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405DA1 #A18440
analogous
#408EA1 #405DA1 #5440A1
triadic
#405DA1 #A1405D #5DA140
tetradic
#405DA1 #A1408E #A18440 #40A154
square
#405DA1 #A1408E #A18440 #40A154
split-complementary
#405DA1 #A15440 #8EA140
monochromatic
#1D2A49 #2F4475 #405DA1 #5F7CBF #8BA0D1

Accessibility & contrast

On white

6.37
#405DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#405DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405DA1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405DA1#FFFFFF#000000##FFFFFF
##405DA11.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A4
Deuteranopia (green-blind)
#325BA0
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #405da1;
/* rgb */ color: rgb(64, 93, 161);
/* oklch */ color: oklch(49.0% 0.115 265.1);
Tailwind
colors: {
  custom: {
    50: '#7d8abd',
    500: '#405da1',
    950: '#000000',
  },
}
SCSS
$custom: #405da1;
$custom-light: #7d8abd;
$custom-dark: #000000;
JSON
{
  "hex": "#405da1",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 161
  },
  "hsl": {
    "h": 222.062,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48986,
    "c": 0.11457,
    "h": 265.1
  },
  "luminance": 0.11492
}

Semantic roles & 50–950 ramp

primary
#405DA1
secondary
#BCAA81
accent
#AD55D3
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #405DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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