#404A96#404A96

#404A96 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.124 H 274.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#404A96
RGBrgb(64, 74, 150)
HSLhsl(233, 40%, 42%)
HSVhsv(233, 57%, 59%)
CMYKcmyk(57.3%, 50.7%, 0%, 41.2%)
CIE-LABlab(34.37, 19.44, -43.14)
CIE-LCHlch(34.37, 47.32, 294.25°)
OKLaboklab(44.17% 0.0098 -0.1232)
OKLCHoklch(44.17% 0.124 274.5)
XYZxyz(10.0664, 8.1888, 29.8984)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A96 #968C40
analogous
#407596 #404A96 #614096
triadic
#404A96 #96404A #4A9640
tetradic
#404A96 #964075 #968C40 #409661
square
#404A96 #964075 #968C40 #409661
split-complementary
#404A96 #966140 #759640
monochromatic
#1B2040 #2E356B #404A96 #5A65B9 #858DCB

Accessibility & contrast

On white

7.96
#404A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#404A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404A96
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A96#FFFFFF#000000##FFFFFF
##404A961.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245599
Deuteranopia (green-blind)
#164D94
Tritanopia (blue-blind)
#0F5B69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #404a96;
/* rgb */ color: rgb(64, 74, 150);
/* oklch */ color: oklch(44.2% 0.124 274.5);
Tailwind
colors: {
  custom: {
    50: '#7c7cb5',
    500: '#404a96',
    950: '#000000',
  },
}
SCSS
$custom: #404a96;
$custom-light: #7c7cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#404a96",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 150
  },
  "hsl": {
    "h": 233.023,
    "s": 40.187,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44169,
    "c": 0.12362,
    "h": 274.5
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#404A96
secondary
#B6AF7C
accent
#C258D0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404A96

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

Preview Lab → · Contrast checker → · Palette generator →

#404A96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva