#405288#405288

#405288 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 45.0% C 0.092 H 268.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#405288
RGBrgb(64, 82, 136)
HSLhsl(225, 36%, 39%)
HSVhsv(225, 53%, 53%)
CMYKcmyk(52.9%, 39.7%, 0%, 46.7%)
CIE-LABlab(35.79, 9.39, -32.35)
CIE-LCHlch(35.79, 33.68, 286.19°)
OKLaboklab(44.98% -0.0022 -0.0915)
OKLCHoklch(44.98% 0.092 268.6)
XYZxyz(9.5741, 8.9015, 24.5014)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405288 #887640
analogous
#407688 #405288 #524088
triadic
#405288 #884052 #528840
tetradic
#405288 #884076 #887640 #408852
square
#405288 #884076 #887640 #408852
split-complementary
#405288 #885240 #768840
monochromatic
#192035 #2C395E #405288 #566CAF #7F90C3

Accessibility & contrast

On white

7.55
#405288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#405288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405288
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405288#FFFFFF#000000##FFFFFF
##4052881.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D588A
Deuteranopia (green-blind)
#355187
Tritanopia (blue-blind)
#1F5E66
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #405288;
/* rgb */ color: rgb(64, 82, 136);
/* oklch */ color: oklch(45.0% 0.092 268.6);
Tailwind
colors: {
  custom: {
    50: '#7a82ab',
    500: '#405288',
    950: '#000000',
  },
}
SCSS
$custom: #405288;
$custom-light: #7a82ab;
$custom-dark: #000000;
JSON
{
  "hex": "#405288",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 136
  },
  "hsl": {
    "h": 225,
    "s": 36,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4498,
    "c": 0.09152,
    "h": 268.6
  },
  "luminance": 0.08902
}

Semantic roles & 50–950 ramp

primary
#405288
secondary
#ADA076
accent
#B05CCC
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #405288

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

Preview Lab → · Contrast checker → · Palette generator →

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