#405EAC#405EAC

#405EAC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.129 H 266.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#405EAC
RGBrgb(64, 94, 172)
HSLhsl(223, 46%, 46%)
HSVhsv(223, 63%, 67%)
CMYKcmyk(62.8%, 45.3%, 0%, 32.5%)
CIE-LABlab(41.33, 14.15, -45.15)
CIE-LCHlch(41.33, 47.31, 287.40°)
OKLaboklab(49.92% -0.0089 -0.1289)
OKLCHoklch(49.92% 0.129 266)
XYZxyz(13.5609, 12.0728, 40.6374)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405EAC #AC8E40
analogous
#4094AC #405EAC #5840AC
triadic
#405EAC #AC405E #5EAC40
tetradic
#405EAC #AC4094 #AC8E40 #40AC58
square
#405EAC #AC4094 #AC8E40 #40AC58
split-complementary
#405EAC #AC5840 #94AC40
monochromatic
#1F2D53 #2F467F #405EAC #647FC5 #91A4D6

Accessibility & contrast

On white

6.15
#405EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#405EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405EAC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405EAC#FFFFFF#000000##FFFFFF
##405EAC1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3967AF
Deuteranopia (green-blind)
#285DAA
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #405eac;
/* rgb */ color: rgb(64, 94, 172);
/* oklch */ color: oklch(49.9% 0.129 266.0);
Tailwind
colors: {
  custom: {
    50: '#7f8bc5',
    500: '#405eac',
    950: '#000000',
  },
}
SCSS
$custom: #405eac;
$custom-light: #7f8bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#405eac",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 172
  },
  "hsl": {
    "h": 223.333,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49917,
    "c": 0.12918,
    "h": 266
  },
  "luminance": 0.12074
}

Semantic roles & 50–950 ramp

primary
#405EAC
secondary
#C1B187
accent
#B152D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #405EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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