#405285#405285

#405285 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.087 H 268.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#405285
RGBrgb(64, 82, 133)
HSLhsl(224, 35%, 39%)
HSVhsv(224, 52%, 52%)
CMYKcmyk(51.9%, 38.3%, 0%, 47.8%)
CIE-LABlab(35.63, 8.38, -30.77)
CIE-LCHlch(35.63, 31.89, 285.24°)
OKLaboklab(44.8% -0.0029 -0.0869)
OKLCHoklch(44.8% 0.087 268.1)
XYZxyz(9.3639, 8.8174, 23.3943)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405285 #857340
analogous
#407485 #405285 #504085
triadic
#405285 #854052 #528540
tetradic
#405285 #854074 #857340 #408550
square
#405285 #854074 #857340 #408550
split-complementary
#405285 #855040 #748540
monochromatic
#181F32 #2C395C #405285 #556CAD #7E90C1

Accessibility & contrast

On white

7.60
#405285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#405285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405285
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405285#FFFFFF#000000##FFFFFF
##4052851.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5787
Deuteranopia (green-blind)
#375184
Tritanopia (blue-blind)
#225D65
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405285;
/* rgb */ color: rgb(64, 82, 133);
/* oklch */ color: oklch(44.8% 0.087 268.1);
Tailwind
colors: {
  custom: {
    50: '#7982a9',
    500: '#405285',
    950: '#000000',
  },
}
SCSS
$custom: #405285;
$custom-light: #7982a9;
$custom-dark: #000000;
JSON
{
  "hex": "#405285",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 133
  },
  "hsl": {
    "h": 224.348,
    "s": 35.025,
    "l": 38.627
  },
  "oklch": {
    "l": 0.448,
    "c": 0.08693,
    "h": 268.1
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

primary
#405285
secondary
#AC9D75
accent
#AE5DCB
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #405285

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

Preview Lab → · Contrast checker → · Palette generator →

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