#405993#405993

#405993 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.2% C 0.099 H 265.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#405993
RGBrgb(64, 89, 147)
HSLhsl(222, 39%, 41%)
HSVhsv(222, 56%, 58%)
CMYKcmyk(56.5%, 39.5%, 0%, 42.4%)
CIE-LABlab(38.45, 8.62, -34.83)
CIE-LCHlch(38.45, 35.88, 283.90°)
OKLaboklab(47.23% -0.0083 -0.0987)
OKLCHoklch(47.23% 0.099 265.2)
XYZxyz(10.9514, 10.3405, 29.0169)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405993 #937A40
analogous
#408393 #405993 #514093
triadic
#405993 #934059 #599340
tetradic
#405993 #934083 #937A40 #409351
square
#405993 #934083 #937A40 #409351
split-complementary
#405993 #935140 #839340
monochromatic
#1B253E #2D3F68 #405993 #5976B7 #8499C9

Accessibility & contrast

On white

6.84
#405993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#405993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405993
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405993#FFFFFF#000000##FFFFFF
##4059931.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F95
Deuteranopia (green-blind)
#375792
Tritanopia (blue-blind)
#0E666F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #405993;
/* rgb */ color: rgb(64, 89, 147);
/* oklch */ color: oklch(47.2% 0.099 265.2);
Tailwind
colors: {
  custom: {
    50: '#7b87b3',
    500: '#405993',
    950: '#000000',
  },
}
SCSS
$custom: #405993;
$custom-light: #7b87b3;
$custom-dark: #000000;
JSON
{
  "hex": "#405993",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 147
  },
  "hsl": {
    "h": 221.928,
    "s": 39.336,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47226,
    "c": 0.09903,
    "h": 265.2
  },
  "luminance": 0.10341
}

Semantic roles & 50–950 ramp

primary
#405993
secondary
#B4A37B
accent
#AB59CF
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #405993

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

Preview Lab → · Contrast checker → · Palette generator →

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