#404CC9#404CC9

#404CC9 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.192 H 272.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#404CC9
RGBrgb(64, 76, 201)
HSLhsl(235, 56%, 52%)
HSVhsv(235, 68%, 79%)
CMYKcmyk(68.2%, 62.2%, 0%, 21.2%)
CIE-LABlab(38.68, 35.93, -66.41)
CIE-LCHlch(38.68, 75.50, 298.42°)
OKLaboklab(48.58% 0.0092 -0.1916)
OKLCHoklch(48.58% 0.192 272.7)
XYZxyz(15.2379, 10.4745, 56.4658)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CC9 #C9BD40
analogous
#4090C9 #404CC9 #7940C9
triadic
#404CC9 #C9404C #4CC940
tetradic
#404CC9 #C94090 #C9BD40 #40C979
square
#404CC9 #C94090 #C9BD40 #40C979
split-complementary
#404CC9 #C97940 #90C940
monochromatic
#1F266F #2D379F #404CC9 #7079D6 #9FA5E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404CC9#FFFFFF#000000##FFFFFF
##404CC91.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)
#0061CD
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #404cc9;
/* rgb */ color: rgb(64, 76, 201);
/* oklch */ color: oklch(48.6% 0.192 272.7);
Tailwind
colors: {
  custom: {
    50: '#867eda',
    500: '#404cc9',
    950: '#000000',
  },
}
SCSS
$custom: #404cc9;
$custom-light: #867eda;
$custom-dark: #000000;
JSON
{
  "hex": "#404cc9",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 234.745,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48577,
    "c": 0.19181,
    "h": 272.7
  },
  "luminance": 0.10476
}

Semantic roles & 50–950 ramp

primary
#404CC9
secondary
#D0CB94
accent
#D249DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #404CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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