#405484#405484

#405484 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.083 H 266.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#405484
RGBrgb(64, 84, 132)
HSLhsl(222, 35%, 38%)
HSVhsv(222, 52%, 52%)
CMYKcmyk(51.5%, 36.4%, 0%, 48.2%)
CIE-LABlab(36.17, 6.75, -29.31)
CIE-LCHlch(36.17, 30.08, 282.98°)
OKLaboklab(45.2% -0.0058 -0.0826)
OKLCHoklch(45.2% 0.083 266)
XYZxyz(9.4482, 9.0960, 23.0831)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405484 #847040
analogous
#407684 #405484 #4E4084
triadic
#405484 #844054 #548440
tetradic
#405484 #844076 #847040 #40844E
square
#405484 #844076 #847040 #40844E
split-complementary
#405484 #844E40 #768440
monochromatic
#182032 #2C3A5B #405484 #556FAC #7E92C0

Accessibility & contrast

On white

7.45
#405484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#405484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405484
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405484#FFFFFF#000000##FFFFFF
##4054841.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425886
Deuteranopia (green-blind)
#3A5283
Tritanopia (blue-blind)
#225E66
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405484;
/* rgb */ color: rgb(64, 84, 132);
/* oklch */ color: oklch(45.2% 0.083 266.0);
Tailwind
colors: {
  custom: {
    50: '#7983a8',
    500: '#405484',
    950: '#000000',
  },
}
SCSS
$custom: #405484;
$custom-light: #7983a8;
$custom-dark: #000000;
JSON
{
  "hex": "#405484",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 132
  },
  "hsl": {
    "h": 222.353,
    "s": 34.694,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45199,
    "c": 0.08281,
    "h": 266
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#405484
secondary
#AB9B75
accent
#AA5DCB
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #405484

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

Preview Lab → · Contrast checker → · Palette generator →

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