#404BAD#404BAD

#404BAD is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.155 H 273.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#404BAD
RGBrgb(64, 75, 173)
HSLhsl(234, 46%, 46%)
HSVhsv(234, 63%, 68%)
CMYKcmyk(63%, 56.6%, 0%, 32.2%)
CIE-LABlab(36.25, 26.81, -53.93)
CIE-LCHlch(36.25, 60.22, 296.43°)
OKLaboklab(46.09% 0.0103 -0.1549)
OKLCHoklch(46.09% 0.155 273.8)
XYZxyz(12.1708, 9.1383, 40.6495)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BAD #ADA240
analogous
#4082AD #404BAD #6C40AD
triadic
#404BAD #AD404B #4BAD40
tetradic
#404BAD #AD4082 #ADA240 #40AD6C
square
#404BAD #AD4082 #ADA240 #40AD6C
split-complementary
#404BAD #AD6C40 #82AD40
monochromatic
#1F2454 #2F3880 #404BAD #646EC6 #9198D6

Accessibility & contrast

On white

7.43
#404BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#404BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404BAD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BAD#FFFFFF#000000##FFFFFF
##404BAD1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #404bad;
/* rgb */ color: rgb(64, 75, 173);
/* oklch */ color: oklch(46.1% 0.155 273.8);
Tailwind
colors: {
  custom: {
    50: '#807dc6',
    500: '#404bad',
    950: '#000000',
  },
}
SCSS
$custom: #404bad;
$custom-light: #807dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#404bad",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 233.945,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46091,
    "c": 0.15527,
    "h": 273.8
  },
  "luminance": 0.09139
}

Semantic roles & 50–950 ramp

primary
#404BAD
secondary
#C2BC87
accent
#C852D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #404BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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