#405486#405486

#405486 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.3% C 0.086 H 266.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#405486
RGBrgb(64, 84, 134)
HSLhsl(223, 35%, 39%)
HSVhsv(223, 52%, 53%)
CMYKcmyk(52.2%, 37.3%, 0%, 47.5%)
CIE-LABlab(36.27, 7.42, -30.37)
CIE-LCHlch(36.27, 31.26, 283.74°)
OKLaboklab(45.32% -0.0052 -0.0857)
OKLCHoklch(45.32% 0.086 266.5)
XYZxyz(9.5863, 9.1512, 23.8108)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405486 #867240
analogous
#407786 #405486 #4F4086
triadic
#405486 #864054 #548640
tetradic
#405486 #864077 #867240 #40864F
square
#405486 #864077 #867240 #40864F
split-complementary
#405486 #864F40 #778640
monochromatic
#182033 #2C3A5D #405486 #556FAE #7F92C2

Accessibility & contrast

On white

7.42
#405486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#405486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405486
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405486#FFFFFF#000000##FFFFFF
##4054861.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415988
Deuteranopia (green-blind)
#395285
Tritanopia (blue-blind)
#215F66
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405486;
/* rgb */ color: rgb(64, 84, 134);
/* oklch */ color: oklch(45.3% 0.086 266.5);
Tailwind
colors: {
  custom: {
    50: '#7983a9',
    500: '#405486',
    950: '#000000',
  },
}
SCSS
$custom: #405486;
$custom-light: #7983a9;
$custom-dark: #000000;
JSON
{
  "hex": "#405486",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 134
  },
  "hsl": {
    "h": 222.857,
    "s": 35.354,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45315,
    "c": 0.08586,
    "h": 266.5
  },
  "luminance": 0.09152
}

Semantic roles & 50–950 ramp

primary
#405486
secondary
#AC9D76
accent
#AC5CCB
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #405486

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

Preview Lab → · Contrast checker → · Palette generator →

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