#404AC9#404AC9

#404AC9 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.2% C 0.194 H 273.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#404AC9
RGBrgb(64, 74, 201)
HSLhsl(236, 56%, 52%)
HSVhsv(236, 68%, 79%)
CMYKcmyk(68.2%, 63.2%, 0%, 21.2%)
CIE-LABlab(38.20, 37.17, -67.18)
CIE-LCHlch(38.20, 76.78, 298.96°)
OKLaboklab(48.23% 0.0107 -0.1939)
OKLCHoklch(48.23% 0.194 273.1)
XYZxyz(15.1022, 10.2032, 56.4205)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404AC9 #C9BF40
analogous
#408FC9 #404AC9 #7A40C9
triadic
#404AC9 #C9404A #4AC940
tetradic
#404AC9 #C9408F #C9BF40 #40C97A
square
#404AC9 #C9408F #C9BF40 #40C97A
split-complementary
#404AC9 #C97A40 #8FC940
monochromatic
#1F256F #2D359F #404AC9 #7077D6 #9FA4E4

Accessibility & contrast

On white

6.91
#404AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#404AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404AC9
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404AC9#FFFFFF#000000##FFFFFF
##404AC91.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #404ac9;
/* rgb */ color: rgb(64, 74, 201);
/* oklch */ color: oklch(48.2% 0.194 273.1);
Tailwind
colors: {
  custom: {
    50: '#867cda',
    500: '#404ac9',
    950: '#000000',
  },
}
SCSS
$custom: #404ac9;
$custom-light: #867cda;
$custom-dark: #000000;
JSON
{
  "hex": "#404ac9",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 201
  },
  "hsl": {
    "h": 235.62,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48227,
    "c": 0.19418,
    "h": 273.1
  },
  "luminance": 0.10205
}

Semantic roles & 50–950 ramp

primary
#404AC9
secondary
#D0CC94
accent
#D449DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #404AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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