#404ABD#404ABD

#404ABD is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.2% C 0.178 H 273.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#404ABD
RGBrgb(64, 74, 189)
HSLhsl(235, 49%, 50%)
HSVhsv(235, 66%, 74%)
CMYKcmyk(66.1%, 60.8%, 0%, 25.9%)
CIE-LABlab(37.23, 33.03, -61.78)
CIE-LCHlch(37.23, 70.05, 298.13°)
OKLaboklab(47.2% 0.0112 -0.178)
OKLCHoklch(47.2% 0.178 273.6)
XYZxyz(13.7454, 9.6604, 49.2745)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404ABD #BDB340
analogous
#4089BD #404ABD #7540BD
triadic
#404ABD #BD404A #4ABD40
tetradic
#404ABD #BD4089 #BDB340 #40BD75
square
#404ABD #BD4089 #BDB340 #40BD75
split-complementary
#404ABD #BD7540 #89BD40
monochromatic
#212662 #31388F #404ABD #6D74CD #9AA0DD

Accessibility & contrast

On white

7.16
#404ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#404ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404ABD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404ABD#FFFFFF#000000##FFFFFF
##404ABD1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #404abd;
/* rgb */ color: rgb(64, 74, 189);
/* oklch */ color: oklch(47.2% 0.178 273.6);
Tailwind
colors: {
  custom: {
    50: '#837cd2',
    500: '#404abd',
    950: '#000000',
  },
}
SCSS
$custom: #404abd;
$custom-light: #837cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#404abd",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 189
  },
  "hsl": {
    "h": 235.2,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47202,
    "c": 0.17838,
    "h": 273.6
  },
  "luminance": 0.09662
}

Semantic roles & 50–950 ramp

primary
#404ABD
secondary
#C9C490
accent
#CE4FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #404ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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