#405686#405686

#405686 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.8% C 0.083 H 264.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#405686
RGBrgb(64, 86, 134)
HSLhsl(221, 35%, 39%)
HSVhsv(221, 52%, 53%)
CMYKcmyk(52.2%, 35.8%, 0%, 47.5%)
CIE-LABlab(36.87, 6.14, -29.43)
CIE-LCHlch(36.87, 30.07, 281.78°)
OKLaboklab(45.78% -0.0078 -0.083)
OKLCHoklch(45.78% 0.083 264.6)
XYZxyz(9.7438, 9.4661, 23.8633)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405686 #867040
analogous
#407986 #405686 #4D4086
triadic
#405686 #864056 #568640
tetradic
#405686 #864079 #867040 #40864D
square
#405686 #864079 #867040 #40864D
split-complementary
#405686 #864D40 #798640
monochromatic
#182133 #2C3B5D #405686 #5571AE #7F94C2

Accessibility & contrast

On white

7.26
#405686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#405686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405686
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405686#FFFFFF#000000##FFFFFF
##4056861.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435A88
Deuteranopia (green-blind)
#3C5485
Tritanopia (blue-blind)
#206068
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #405686;
/* rgb */ color: rgb(64, 86, 134);
/* oklch */ color: oklch(45.8% 0.083 264.6);
Tailwind
colors: {
  custom: {
    50: '#7985a9',
    500: '#405686',
    950: '#000000',
  },
}
SCSS
$custom: #405686;
$custom-light: #7985a9;
$custom-dark: #000000;
JSON
{
  "hex": "#405686",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 134
  },
  "hsl": {
    "h": 221.143,
    "s": 35.354,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45775,
    "c": 0.08333,
    "h": 264.6
  },
  "luminance": 0.09467
}

Semantic roles & 50–950 ramp

primary
#405686
secondary
#AC9B76
accent
#A95CCB
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #405686

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

Preview Lab → · Contrast checker → · Palette generator →

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