#405EAF#405EAF

#405EAF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.1% C 0.133 H 266.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#405EAF
RGBrgb(64, 94, 175)
HSLhsl(224, 46%, 47%)
HSVhsv(224, 63%, 69%)
CMYKcmyk(63.4%, 46.3%, 0%, 31.4%)
CIE-LABlab(41.52, 15.22, -46.62)
CIE-LCHlch(41.52, 49.04, 288.07°)
OKLaboklab(50.12% -0.0084 -0.1332)
OKLCHoklch(50.12% 0.133 266.4)
XYZxyz(13.8523, 12.1893, 42.1719)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405EAF #AF9140
analogous
#4096AF #405EAF #5A40AF
triadic
#405EAF #AF405E #5EAF40
tetradic
#405EAF #AF4096 #AF9140 #40AF5A
square
#405EAF #AF4096 #AF9140 #40AF5A
split-complementary
#405EAF #AF5A40 #96AF40
monochromatic
#1F2E55 #304682 #405EAF #6580C7 #92A5D7

Accessibility & contrast

On white

6.11
#405EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#405EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405EAF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405EAF#FFFFFF#000000##FFFFFF
##405EAF1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B2
Deuteranopia (green-blind)
#245DAD
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #405eaf;
/* rgb */ color: rgb(64, 94, 175);
/* oklch */ color: oklch(50.1% 0.133 266.4);
Tailwind
colors: {
  custom: {
    50: '#808bc7',
    500: '#405eaf',
    950: '#000000',
  },
}
SCSS
$custom: #405eaf;
$custom-light: #808bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#405eaf",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 175
  },
  "hsl": {
    "h": 223.784,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50118,
    "c": 0.13347,
    "h": 266.4
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#405EAF
secondary
#C3B388
accent
#B252D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #405EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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