#405487#405487

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

Color values

HEX#405487
RGBrgb(64, 84, 135)
HSLhsl(223, 36%, 39%)
HSVhsv(223, 53%, 53%)
CMYKcmyk(52.6%, 37.8%, 0%, 47.1%)
CIE-LABlab(36.33, 7.76, -30.89)
CIE-LCHlch(36.33, 31.85, 284.10°)
OKLaboklab(45.37% -0.005 -0.0872)
OKLCHoklch(45.37% 0.087 266.7)
XYZxyz(9.6564, 9.1793, 24.1799)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405487 #877340
analogous
#407887 #405487 #504087
triadic
#405487 #874054 #548740
tetradic
#405487 #874078 #877340 #408750
square
#405487 #874078 #877340 #408750
split-complementary
#405487 #875040 #788740
monochromatic
#192034 #2C3A5D #405487 #566FAF #7F92C2

Accessibility & contrast

On white

7.40
#405487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405487
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405487#FFFFFF#000000##FFFFFF
##4054871.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405989
Deuteranopia (green-blind)
#385386
Tritanopia (blue-blind)
#205F67
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405487;
/* rgb */ color: rgb(64, 84, 135);
/* oklch */ color: oklch(45.4% 0.087 266.7);
Tailwind
colors: {
  custom: {
    50: '#7a83aa',
    500: '#405487',
    950: '#000000',
  },
}
SCSS
$custom: #405487;
$custom-light: #7a83aa;
$custom-dark: #000000;
JSON
{
  "hex": "#405487",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 223.099,
    "s": 35.678,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45374,
    "c": 0.08737,
    "h": 266.7
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#405487
secondary
#AD9D76
accent
#AC5CCC
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #405487

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

Preview Lab → · Contrast checker → · Palette generator →

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