#405D91#405D91

#405D91 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.0% C 0.091 H 261.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#405D91
RGBrgb(64, 93, 145)
HSLhsl(219, 39%, 41%)
HSVhsv(219, 56%, 57%)
CMYKcmyk(55.9%, 35.9%, 0%, 43.1%)
CIE-LABlab(39.52, 5.38, -31.93)
CIE-LCHlch(39.52, 32.38, 279.56°)
OKLaboklab(48.02% -0.0136 -0.0902)
OKLCHoklch(48.02% 0.091 261.4)
XYZxyz(11.1378, 10.9622, 28.3116)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405D91 #917440
analogous
#408591 #405D91 #4B4091
triadic
#405D91 #91405D #5D9140
tetradic
#405D91 #914085 #917440 #40914B
square
#405D91 #914085 #917440 #40914B
split-complementary
#405D91 #914B40 #859140
monochromatic
#1B273C #2D4267 #405D91 #597AB6 #839CC8

Accessibility & contrast

On white

6.58
#405D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#405D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405D91
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405D91#FFFFFF#000000##FFFFFF
##405D911.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486193
Deuteranopia (green-blind)
#3E5A90
Tritanopia (blue-blind)
#106870
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #405d91;
/* rgb */ color: rgb(64, 93, 145);
/* oklch */ color: oklch(48.0% 0.091 261.4);
Tailwind
colors: {
  custom: {
    50: '#7b8ab1',
    500: '#405d91',
    950: '#000000',
  },
}
SCSS
$custom: #405d91;
$custom-light: #7b8ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#405d91",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 145
  },
  "hsl": {
    "h": 218.519,
    "s": 38.756,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4802,
    "c": 0.09121,
    "h": 261.4
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#405D91
secondary
#B39E7A
accent
#A559CF
background
#F7F8FA
surface
#EEF0F5
border
#C9CBCF
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #405D91

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

Preview Lab → · Contrast checker → · Palette generator →

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