#404ABF#404ABF

#404ABF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.4% C 0.181 H 273.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#404ABF
RGBrgb(64, 74, 191)
HSLhsl(235, 50%, 50%)
HSVhsv(235, 66%, 75%)
CMYKcmyk(66.5%, 61.3%, 0%, 25.1%)
CIE-LABlab(37.39, 33.72, -62.69)
CIE-LCHlch(37.39, 71.18, 298.27°)
OKLaboklab(47.37% 0.0111 -0.1807)
OKLCHoklch(47.37% 0.181 273.5)
XYZxyz(13.9640, 9.7479, 50.4258)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404ABF #BFB540
analogous
#4089BF #404ABF #7640BF
triadic
#404ABF #BF404A #4ABF40
tetradic
#404ABF #BF4089 #BFB540 #40BF76
square
#404ABF #BF4089 #BFB540 #40BF76
split-complementary
#404ABF #BF7640 #89BF40
monochromatic
#212663 #313891 #404ABF #6E75CE #9CA1DE

Accessibility & contrast

On white

7.12
#404ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#404ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404ABF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404ABF#FFFFFF#000000##FFFFFF
##404ABF1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #404abf;
/* rgb */ color: rgb(64, 74, 191);
/* oklch */ color: oklch(47.4% 0.181 273.5);
Tailwind
colors: {
  custom: {
    50: '#847cd3',
    500: '#404abf',
    950: '#000000',
  },
}
SCSS
$custom: #404abf;
$custom-light: #847cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#404abf",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 235.276,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.4737,
    "c": 0.18105,
    "h": 273.5
  },
  "luminance": 0.09749
}

Semantic roles & 50–950 ramp

primary
#404ABF
secondary
#CAC591
accent
#CE4ED9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #404ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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