#405688#405688

#405688 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.9% C 0.086 H 265.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#405688
RGBrgb(64, 86, 136)
HSLhsl(222, 36%, 39%)
HSVhsv(222, 53%, 53%)
CMYKcmyk(52.9%, 36.8%, 0%, 46.7%)
CIE-LABlab(36.97, 6.81, -30.49)
CIE-LCHlch(36.97, 31.24, 282.58°)
OKLaboklab(45.89% -0.0073 -0.086)
OKLCHoklch(45.89% 0.086 265.2)
XYZxyz(9.8846, 9.5225, 24.6049)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405688 #887240
analogous
#407A88 #405688 #4E4088
triadic
#405688 #884056 #568840
tetradic
#405688 #88407A #887240 #40884E
square
#405688 #88407A #887240 #40884E
split-complementary
#405688 #884E40 #7A8840
monochromatic
#192135 #2C3C5E #405688 #5671AF #7F94C3

Accessibility & contrast

On white

7.23
#405688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#405688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405688
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405688#FFFFFF#000000##FFFFFF
##4056881.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435B8A
Deuteranopia (green-blind)
#3A5487
Tritanopia (blue-blind)
#1E6168
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #405688;
/* rgb */ color: rgb(64, 86, 136);
/* oklch */ color: oklch(45.9% 0.086 265.2);
Tailwind
colors: {
  custom: {
    50: '#7a85ab',
    500: '#405688',
    950: '#000000',
  },
}
SCSS
$custom: #405688;
$custom-light: #7a85ab;
$custom-dark: #000000;
JSON
{
  "hex": "#405688",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 136
  },
  "hsl": {
    "h": 221.667,
    "s": 36,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4589,
    "c": 0.08635,
    "h": 265.2
  },
  "luminance": 0.09523
}

Semantic roles & 50–950 ramp

primary
#405688
secondary
#AD9D76
accent
#AA5CCC
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #405688

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

Preview Lab → · Contrast checker → · Palette generator →

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