#404ADF#404ADF

#404ADF is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.2% C 0.222 H 272.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#404ADF
RGBrgb(64, 74, 223)
HSLhsl(236, 71%, 56%)
HSVhsv(236, 71%, 87%)
CMYKcmyk(71.3%, 66.8%, 0%, 12.5%)
CIE-LABlab(40.10, 44.66, -76.73)
CIE-LCHlch(40.10, 88.78, 300.20°)
OKLaboklab(50.2% 0.0089 -0.2218)
OKLCHoklch(50.2% 0.222 272.3)
XYZxyz(17.8779, 11.3135, 71.0393)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404ADF #DFD540
analogous
#409ADF #404ADF #8640DF
triadic
#404ADF #DF404A #4ADF40
tetradic
#404ADF #DF409A #DFD540 #40DF86
square
#404ADF #DF409A #DFD540 #40DF86
split-complementary
#404ADF #DF8640 #9ADF40
monochromatic
#181F8D #202BC1 #404ADF #747CE8 #A9ADF1

Accessibility & contrast

On white

6.44
#404ADF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#404ADF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404ADF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404ADF#FFFFFF#000000##FFFFFF
##404ADF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E4
Deuteranopia (green-blind)
#0057DC
Tritanopia (blue-blind)
#00728E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #404adf;
/* rgb */ color: rgb(64, 74, 223);
/* oklch */ color: oklch(50.2% 0.222 272.3);
Tailwind
colors: {
  custom: {
    50: '#8a7dea',
    500: '#404adf',
    950: '#000000',
  },
}
SCSS
$custom: #404adf;
$custom-light: #8a7dea;
$custom-dark: #000000;
JSON
{
  "hex": "#404adf",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 223
  },
  "hsl": {
    "h": 236.226,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50195,
    "c": 0.22203,
    "h": 272.3
  },
  "luminance": 0.11315
}

Semantic roles & 50–950 ramp

primary
#404ADF
secondary
#DEDA9D
accent
#E33AEE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #404ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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