#405481#405481

#405481 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.078 H 265.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#405481
RGBrgb(64, 84, 129)
HSLhsl(222, 34%, 38%)
HSVhsv(222, 50%, 51%)
CMYKcmyk(50.4%, 34.9%, 0%, 49.4%)
CIE-LABlab(36.01, 5.76, -27.71)
CIE-LCHlch(36.01, 28.30, 281.74°)
OKLaboklab(45.03% -0.0066 -0.078)
OKLCHoklch(45.03% 0.078 265.2)
XYZxyz(9.2458, 9.0150, 22.0175)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405481 #816D40
analogous
#407581 #405481 #4C4081
triadic
#405481 #814054 #548140
tetradic
#405481 #814075 #816D40 #40814C
square
#405481 #814075 #816D40 #40814C
split-complementary
#405481 #814C40 #758140
monochromatic
#171F2F #2C3958 #405481 #546FAA #7D91BE

Accessibility & contrast

On white

7.49
#405481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#405481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405481
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405481#FFFFFF#000000##FFFFFF
##4054811.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435883
Deuteranopia (green-blind)
#3C5280
Tritanopia (blue-blind)
#255E64
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405481;
/* rgb */ color: rgb(64, 84, 129);
/* oklch */ color: oklch(45.0% 0.078 265.2);
Tailwind
colors: {
  custom: {
    50: '#7983a6',
    500: '#405481',
    950: '#000000',
  },
}
SCSS
$custom: #405481;
$custom-light: #7983a6;
$custom-dark: #000000;
JSON
{
  "hex": "#405481",
  "rgb": {
    "r": 64,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 221.538,
    "s": 33.679,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45028,
    "c": 0.07825,
    "h": 265.2
  },
  "luminance": 0.09016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #405481

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

Preview Lab → · Contrast checker → · Palette generator →

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