#405477#405477

#405477 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.5% C 0.063 H 261.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#405477
RGBrgb(64, 84, 119)
HSLhsl(218, 30%, 36%)
HSVhsv(218, 46%, 47%)
CMYKcmyk(46.2%, 29.4%, 0%, 53.3%)
CIE-LABlab(35.52, 2.51, -22.31)
CIE-LCHlch(35.52, 22.45, 276.41°)
OKLaboklab(44.48% -0.0096 -0.0623)
OKLCHoklch(44.48% 0.063 261.3)
XYZxyz(8.6134, 8.7620, 18.6866)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405477 #776340
analogous
#406F77 #405477 #474077
triadic
#405477 #774054 #547740
tetradic
#405477 #77406F #776340 #407747
square
#405477 #77406F #776340 #407747
split-complementary
#405477 #774740 #6F7740
monochromatic
#151C27 #2B384F #405477 #55709F #7A90B7

Accessibility & contrast

On white

7.63
#405477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#405477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405477
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405477#FFFFFF#000000##FFFFFF
##4054771.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475679
Deuteranopia (green-blind)
#415176
Tritanopia (blue-blind)
#2B5B60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405477;
/* rgb */ color: rgb(64, 84, 119);
/* oklch */ color: oklch(44.5% 0.063 261.3);
Tailwind
colors: {
  custom: {
    50: '#78839e',
    500: '#405477',
    950: '#000000',
  },
}
SCSS
$custom: #405477;
$custom-light: #78839e;
$custom-dark: #000000;
JSON
{
  "hex": "#405477",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 119
  },
  "hsl": {
    "h": 218.182,
    "s": 30.055,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44484,
    "c": 0.06308,
    "h": 261.3
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#405477
secondary
#A29071
accent
#A262C6
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#090A0E
muted
#7B7C7E

Preview Lab

Preview with #405477

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

Preview Lab → · Contrast checker → · Palette generator →

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