#405E95#405E95

#405E95 is a mid, moderate blue. Relative luminance 0.113; OKLCH L 48.5% C 0.096 H 261.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#405E95
RGBrgb(64, 94, 149)
HSLhsl(219, 40%, 42%)
HSVhsv(219, 57%, 58%)
CMYKcmyk(57%, 36.9%, 0%, 41.6%)
CIE-LABlab(40.02, 6.11, -33.54)
CIE-LCHlch(40.02, 34.10, 280.32°)
OKLaboklab(48.48% -0.0138 -0.0949)
OKLCHoklch(48.48% 0.096 261.7)
XYZxyz(11.5400, 11.2644, 29.9941)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E95 #957740
analogous
#408995 #405E95 #4D4095
triadic
#405E95 #95405E #5E9540
tetradic
#405E95 #954089 #957740 #40954D
square
#405E95 #954089 #957740 #40954D
split-complementary
#405E95 #954D40 #899540
monochromatic
#1B283F #2E436A #405E95 #5A7BB8 #859DCB

Accessibility & contrast

On white

6.46
#405E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#405E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405E95
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E95#FFFFFF#000000##FFFFFF
##405E951.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486397
Deuteranopia (green-blind)
#3D5B94
Tritanopia (blue-blind)
#076A72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #405e95;
/* rgb */ color: rgb(64, 94, 149);
/* oklch */ color: oklch(48.5% 0.096 261.7);
Tailwind
colors: {
  custom: {
    50: '#7b8bb4',
    500: '#405e95',
    950: '#000000',
  },
}
SCSS
$custom: #405e95;
$custom-light: #7b8bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#405e95",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 149
  },
  "hsl": {
    "h": 218.824,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48482,
    "c": 0.09586,
    "h": 261.7
  },
  "luminance": 0.11265
}

Semantic roles & 50–950 ramp

primary
#405E95
secondary
#B5A17C
accent
#A658D0
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #405E95

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

Preview Lab → · Contrast checker → · Palette generator →

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