#405778#405778

#405778 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.3% C 0.061 H 257.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#405778
RGBrgb(64, 87, 120)
HSLhsl(215, 30%, 36%)
HSVhsv(215, 47%, 47%)
CMYKcmyk(46.7%, 27.5%, 0%, 52.9%)
CIE-LABlab(36.48, 0.93, -21.44)
CIE-LCHlch(36.48, 21.46, 272.47°)
OKLaboklab(45.25% -0.0134 -0.0598)
OKLCHoklch(45.25% 0.061 257.4)
XYZxyz(8.9116, 9.2619, 19.0838)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405778 #786140
analogous
#407378 #405778 #454078
triadic
#405778 #784057 #577840
tetradic
#405778 #784073 #786140 #407845
square
#405778 #784073 #786140 #407845
split-complementary
#405778 #784540 #737840
monochromatic
#151D28 #2B3A50 #405778 #5574A0 #7A94B8

Accessibility & contrast

On white

7.36
#405778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#405778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405778
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405778#FFFFFF#000000##FFFFFF
##4057781.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5979
Deuteranopia (green-blind)
#445377
Tritanopia (blue-blind)
#2A5E62
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405778;
/* rgb */ color: rgb(64, 87, 120);
/* oklch */ color: oklch(45.3% 0.061 257.4);
Tailwind
colors: {
  custom: {
    50: '#78869f',
    500: '#405778',
    950: '#000000',
  },
}
SCSS
$custom: #405778;
$custom-light: #78869f;
$custom-dark: #000000;
JSON
{
  "hex": "#405778",
  "rgb": {
    "r": 64,
    "g": 87,
    "b": 120
  },
  "hsl": {
    "h": 215.357,
    "s": 30.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45251,
    "c": 0.06131,
    "h": 257.4
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#405778
secondary
#A38E71
accent
#9D61C7
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#090B0E
muted
#7B7C7E

Preview Lab

Preview with #405778

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

Preview Lab → · Contrast checker → · Palette generator →

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