#404B99#404B99

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

Color values

HEX#404B99
RGBrgb(64, 75, 153)
HSLhsl(233, 41%, 43%)
HSVhsv(233, 58%, 60%)
CMYKcmyk(58.2%, 51%, 0%, 40%)
CIE-LABlab(34.85, 19.82, -44.20)
CIE-LCHlch(34.85, 48.44, 294.15°)
OKLaboklab(44.59% 0.009 -0.1263)
OKLCHoklch(44.59% 0.127 274.1)
XYZxyz(10.3783, 8.4213, 31.2094)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B99 #998E40
analogous
#407899 #404B99 #614099
triadic
#404B99 #99404B #4B9940
tetradic
#404B99 #994078 #998E40 #409961
square
#404B99 #994078 #998E40 #409961
split-complementary
#404B99 #996140 #789940
monochromatic
#1C2143 #2E366E #404B99 #5C67BB #878FCD

Accessibility & contrast

On white

7.82
#404B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#404B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404B99
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404B99#FFFFFF#000000##FFFFFF
##404B991.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23569C
Deuteranopia (green-blind)
#144E97
Tritanopia (blue-blind)
#075D6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #404b99;
/* rgb */ color: rgb(64, 75, 153);
/* oklch */ color: oklch(44.6% 0.127 274.1);
Tailwind
colors: {
  custom: {
    50: '#7d7db7',
    500: '#404b99',
    950: '#000000',
  },
}
SCSS
$custom: #404b99;
$custom-light: #7d7db7;
$custom-dark: #000000;
JSON
{
  "hex": "#404b99",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 153
  },
  "hsl": {
    "h": 232.584,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4459,
    "c": 0.12665,
    "h": 274.1
  },
  "luminance": 0.08422
}

Semantic roles & 50–950 ramp

primary
#404B99
secondary
#B7B07E
accent
#C257D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404B99

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

Preview Lab → · Contrast checker → · Palette generator →

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