#404A9B#404A9B

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

Color values

HEX#404A9B
RGBrgb(64, 74, 155)
HSLhsl(233, 42%, 43%)
HSVhsv(233, 59%, 61%)
CMYKcmyk(58.7%, 52.3%, 0%, 39.2%)
CIE-LABlab(34.71, 21.17, -45.63)
CIE-LCHlch(34.71, 50.31, 294.89°)
OKLaboklab(44.53% 0.0103 -0.1305)
OKLCHoklch(44.53% 0.131 274.5)
XYZxyz(10.4776, 8.3533, 32.0642)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A9B #9B9140
analogous
#40779B #404A9B #64409B
triadic
#404A9B #9B404A #4A9B40
tetradic
#404A9B #9B4077 #9B9140 #409B64
square
#404A9B #9B4077 #9B9140 #409B64
split-complementary
#404A9B #9B6440 #779B40
monochromatic
#1C2144 #2E3570 #404A9B #5C67BC #888FCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404A9B#FFFFFF#000000##FFFFFF
##404A9B1.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)
#1E569E
Deuteranopia (green-blind)
#0A4E99
Tritanopia (blue-blind)
#025C6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #404a9b;
/* rgb */ color: rgb(64, 74, 155);
/* oklch */ color: oklch(44.5% 0.131 274.5);
Tailwind
colors: {
  custom: {
    50: '#7d7cb9',
    500: '#404a9b',
    950: '#000000',
  },
}
SCSS
$custom: #404a9b;
$custom-light: #7d7cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#404a9b",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 155
  },
  "hsl": {
    "h": 233.407,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44529,
    "c": 0.13094,
    "h": 274.5
  },
  "luminance": 0.08354
}

Semantic roles & 50–950 ramp

primary
#404A9B
secondary
#B8B27E
accent
#C456D1
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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