#404ACE#404ACE

#404ACE is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.7% C 0.201 H 273.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#404ACE
RGBrgb(64, 74, 206)
HSLhsl(236, 59%, 53%)
HSVhsv(236, 69%, 81%)
CMYKcmyk(68.9%, 64.1%, 0%, 19.2%)
CIE-LABlab(38.62, 38.89, -69.39)
CIE-LCHlch(38.62, 79.55, 299.27°)
OKLaboklab(48.66% 0.0103 -0.2004)
OKLCHoklch(48.66% 0.201 273)
XYZxyz(15.7000, 10.4423, 59.5687)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404ACE #CEC440
analogous
#4091CE #404ACE #7D40CE
triadic
#404ACE #CE404A #4ACE40
tetradic
#404ACE #CE4091 #CEC440 #40CE7D
square
#404ACE #CE4091 #CEC440 #40CE7D
split-complementary
#404ACE #CE7D40 #91CE40
monochromatic
#1E2475 #2B33A6 #404ACE #7178DA #A1A6E7

Accessibility & contrast

On white

6.80
#404ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#404ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404ACE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404ACE#FFFFFF#000000##FFFFFF
##404ACE1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0054CB
Tritanopia (blue-blind)
#006C85
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #404ace;
/* rgb */ color: rgb(64, 74, 206);
/* oklch */ color: oklch(48.7% 0.201 273.0);
Tailwind
colors: {
  custom: {
    50: '#877dde',
    500: '#404ace',
    950: '#000000',
  },
}
SCSS
$custom: #404ace;
$custom-light: #877dde;
$custom-dark: #000000;
JSON
{
  "hex": "#404ace",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 206
  },
  "hsl": {
    "h": 235.775,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48664,
    "c": 0.20064,
    "h": 273
  },
  "luminance": 0.10444
}

Semantic roles & 50–950 ramp

primary
#404ACE
secondary
#D4CF96
accent
#D745E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #404ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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