#404DA9#404DA9

#404DA9 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.147 H 273.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#404DA9
RGBrgb(64, 77, 169)
HSLhsl(233, 45%, 46%)
HSVhsv(233, 62%, 66%)
CMYKcmyk(62.1%, 54.4%, 0%, 33.7%)
CIE-LABlab(36.48, 24.11, -51.17)
CIE-LCHlch(36.48, 56.56, 295.23°)
OKLaboklab(46.17% 0.0082 -0.1468)
OKLCHoklch(46.17% 0.147 273.2)
XYZxyz(11.9273, 9.2613, 38.6875)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DA9 #A99C40
analogous
#4081A9 #404DA9 #6740A9
triadic
#404DA9 #A9404D #4DA940
tetradic
#404DA9 #A94081 #A99C40 #40A967
square
#404DA9 #A94081 #A99C40 #40A967
split-complementary
#404DA9 #A96740 #81A940
monochromatic
#1E2550 #2F397D #404DA9 #626FC4 #8F97D5

Accessibility & contrast

On white

7.36
#404DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#404DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404DA9
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DA9#FFFFFF#000000##FFFFFF
##404DA91.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5BAC
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #404da9;
/* rgb */ color: rgb(64, 77, 169);
/* oklch */ color: oklch(46.2% 0.147 273.2);
Tailwind
colors: {
  custom: {
    50: '#7f7ec3',
    500: '#404da9',
    950: '#000000',
  },
}
SCSS
$custom: #404da9;
$custom-light: #7f7ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#404da9",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 169
  },
  "hsl": {
    "h": 232.571,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46174,
    "c": 0.14703,
    "h": 273.2
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#404DA9
secondary
#C0B885
accent
#C553D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #404DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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