#404B97#404B97

#404B97 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.4% C 0.124 H 274.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#404B97
RGBrgb(64, 75, 151)
HSLhsl(232, 40%, 42%)
HSVhsv(232, 58%, 59%)
CMYKcmyk(57.6%, 50.3%, 0%, 40.8%)
CIE-LABlab(34.71, 19.13, -43.20)
CIE-LCHlch(34.71, 47.25, 293.88°)
OKLaboklab(44.45% 0.0088 -0.1234)
OKLCHoklch(44.45% 0.124 274.1)
XYZxyz(10.2145, 8.3558, 30.3467)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B97 #978C40
analogous
#407797 #404B97 #614097
triadic
#404B97 #97404B #4B9740
tetradic
#404B97 #974077 #978C40 #409761
square
#404B97 #974077 #978C40 #409761
split-complementary
#404B97 #976140 #779740
monochromatic
#1C2041 #2E366C #404B97 #5B67B9 #868FCC

Accessibility & contrast

On white

7.86
#404B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#404B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404B97
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404B97#FFFFFF#000000##FFFFFF
##404B971.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25559A
Deuteranopia (green-blind)
#174E95
Tritanopia (blue-blind)
#0C5C6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #404b97;
/* rgb */ color: rgb(64, 75, 151);
/* oklch */ color: oklch(44.4% 0.124 274.1);
Tailwind
colors: {
  custom: {
    50: '#7c7db6',
    500: '#404b97',
    950: '#000000',
  },
}
SCSS
$custom: #404b97;
$custom-light: #7c7db6;
$custom-dark: #000000;
JSON
{
  "hex": "#404b97",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 151
  },
  "hsl": {
    "h": 232.414,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44447,
    "c": 0.1237,
    "h": 274.1
  },
  "luminance": 0.08357
}

Semantic roles & 50–950 ramp

primary
#404B97
secondary
#B6AF7D
accent
#C157D0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404B97

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

Preview Lab → · Contrast checker → · Palette generator →

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