#405994#405994

#405994 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.3% C 0.101 H 265.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#405994
RGBrgb(64, 89, 148)
HSLhsl(222, 40%, 42%)
HSVhsv(222, 57%, 58%)
CMYKcmyk(56.8%, 39.9%, 0%, 42%)
CIE-LABlab(38.50, 8.96, -35.35)
CIE-LCHlch(38.50, 36.47, 284.23°)
OKLaboklab(47.29% -0.008 -0.1002)
OKLCHoklch(47.29% 0.101 265.4)
XYZxyz(11.0302, 10.3720, 29.4320)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405994 #947B40
analogous
#408394 #405994 #514094
triadic
#405994 #944059 #599440
tetradic
#405994 #944083 #947B40 #409451
square
#405994 #944083 #947B40 #409451
split-complementary
#405994 #945140 #839440
monochromatic
#1B263F #2E3F69 #405994 #5A76B8 #8499CA

Accessibility & contrast

On white

6.83
#405994 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #405994
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405994#FFFFFF#000000##FFFFFF
##4059941.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F96
Deuteranopia (green-blind)
#365793
Tritanopia (blue-blind)
#0C666F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #405994;
/* rgb */ color: rgb(64, 89, 148);
/* oklch */ color: oklch(47.3% 0.101 265.4);
Tailwind
colors: {
  custom: {
    50: '#7b87b4',
    500: '#405994',
    950: '#000000',
  },
}
SCSS
$custom: #405994;
$custom-light: #7b87b4;
$custom-dark: #000000;
JSON
{
  "hex": "#405994",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 148
  },
  "hsl": {
    "h": 222.143,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47287,
    "c": 0.10051,
    "h": 265.4
  },
  "luminance": 0.10373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #405994

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

Preview Lab → · Contrast checker → · Palette generator →

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