#404ACF#404ACF

#404ACF is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 48.8% C 0.202 H 272.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#404ACF
RGBrgb(64, 74, 207)
HSLhsl(236, 60%, 53%)
HSVhsv(236, 69%, 81%)
CMYKcmyk(69.1%, 64.3%, 0%, 18.8%)
CIE-LABlab(38.71, 39.23, -69.83)
CIE-LCHlch(38.71, 80.10, 299.33°)
OKLaboklab(48.75% 0.0103 -0.2017)
OKLCHoklch(48.75% 0.202 272.9)
XYZxyz(15.8218, 10.4910, 60.2105)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404ACF #CFC540
analogous
#4091CF #404ACF #7D40CF
triadic
#404ACF #CF404A #4ACF40
tetradic
#404ACF #CF4091 #CFC540 #40CF7D
square
#404ACF #CF4091 #CFC540 #40CF7D
split-complementary
#404ACF #CF7D40 #91CF40
monochromatic
#1E2477 #2A33A8 #404ACF #7178DB #A2A7E8

Accessibility & contrast

On white

6.78
#404ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#404ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404ACF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404ACF#FFFFFF#000000##FFFFFF
##404ACF1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#006D86
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #404acf;
/* rgb */ color: rgb(64, 74, 207);
/* oklch */ color: oklch(48.8% 0.202 272.9);
Tailwind
colors: {
  custom: {
    50: '#877ddf',
    500: '#404acf',
    950: '#000000',
  },
}
SCSS
$custom: #404acf;
$custom-light: #877ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#404acf",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 207
  },
  "hsl": {
    "h": 235.804,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48752,
    "c": 0.20192,
    "h": 272.9
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#404ACF
secondary
#D4D097
accent
#D845E3
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #404ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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