#405482#405482

#405482 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.1% C 0.080 H 265.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#405482
RGBrgb(64, 84, 130)
HSLhsl(222, 34%, 38%)
HSVhsv(222, 51%, 51%)
CMYKcmyk(50.8%, 35.4%, 0%, 49%)
CIE-LABlab(36.06, 6.09, -28.25)
CIE-LCHlch(36.06, 28.89, 282.17°)
OKLaboklab(45.08% -0.0063 -0.0795)
OKLCHoklch(45.08% 0.08 265.5)
XYZxyz(9.3126, 9.0417, 22.3693)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405482 #826E40
analogous
#407582 #405482 #4D4082
triadic
#405482 #824054 #548240
tetradic
#405482 #824075 #826E40 #40824D
square
#405482 #824075 #826E40 #40824D
split-complementary
#405482 #824D40 #758240
monochromatic
#181F30 #2C3A59 #405482 #546FAB #7D91BF

Accessibility & contrast

On white

7.48
#405482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#405482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405482
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405482#FFFFFF#000000##FFFFFF
##4054821.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435884
Deuteranopia (green-blind)
#3B5281
Tritanopia (blue-blind)
#245E65
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405482;
/* rgb */ color: rgb(64, 84, 130);
/* oklch */ color: oklch(45.1% 0.080 265.5);
Tailwind
colors: {
  custom: {
    50: '#7983a6',
    500: '#405482',
    950: '#000000',
  },
}
SCSS
$custom: #405482;
$custom-light: #7983a6;
$custom-dark: #000000;
JSON
{
  "hex": "#405482",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 130
  },
  "hsl": {
    "h": 221.818,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45085,
    "c": 0.07977,
    "h": 265.5
  },
  "luminance": 0.09042
}

Semantic roles & 50–950 ramp

primary
#405482
secondary
#AA9974
accent
#A95ECA
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #405482

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

Preview Lab → · Contrast checker → · Palette generator →

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