#405488#405488

#405488 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.4% C 0.089 H 266.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#405488
RGBrgb(64, 84, 136)
HSLhsl(223, 36%, 39%)
HSVhsv(223, 53%, 53%)
CMYKcmyk(52.9%, 38.2%, 0%, 46.7%)
CIE-LABlab(36.38, 8.10, -31.42)
CIE-LCHlch(36.38, 32.45, 284.45°)
OKLaboklab(45.43% -0.0047 -0.0888)
OKLCHoklch(45.43% 0.089 266.9)
XYZxyz(9.7271, 9.2075, 24.5524)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405488 #887440
analogous
#407888 #405488 #504088
triadic
#405488 #884054 #548840
tetradic
#405488 #884078 #887440 #408850
square
#405488 #884078 #887440 #408850
split-complementary
#405488 #885040 #788840
monochromatic
#192135 #2C3A5E #405488 #566FAF #7F92C3

Accessibility & contrast

On white

7.39
#405488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#405488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405488
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405488#FFFFFF#000000##FFFFFF
##4054881.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40598A
Deuteranopia (green-blind)
#385387
Tritanopia (blue-blind)
#1F5F67
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405488;
/* rgb */ color: rgb(64, 84, 136);
/* oklch */ color: oklch(45.4% 0.089 266.9);
Tailwind
colors: {
  custom: {
    50: '#7a83ab',
    500: '#405488',
    950: '#000000',
  },
}
SCSS
$custom: #405488;
$custom-light: #7a83ab;
$custom-dark: #000000;
JSON
{
  "hex": "#405488",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 136
  },
  "hsl": {
    "h": 223.333,
    "s": 36,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45433,
    "c": 0.0889,
    "h": 266.9
  },
  "luminance": 0.09208
}

Semantic roles & 50–950 ramp

primary
#405488
secondary
#AD9E76
accent
#AD5CCC
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #405488

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

Preview Lab → · Contrast checker → · Palette generator →

#405488 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva