#404FC9#404FC9

#404FC9 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.1% C 0.188 H 272.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#404FC9
RGBrgb(64, 79, 201)
HSLhsl(233, 56%, 52%)
HSVhsv(233, 68%, 79%)
CMYKcmyk(68.2%, 60.7%, 0%, 21.2%)
CIE-LABlab(39.41, 34.05, -65.22)
CIE-LCHlch(39.41, 73.57, 297.57°)
OKLaboklab(49.11% 0.0069 -0.1881)
OKLCHoklch(49.11% 0.188 272.1)
XYZxyz(15.4494, 10.8975, 56.5363)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FC9 #C9BA40
analogous
#4093C9 #404FC9 #7640C9
triadic
#404FC9 #C9404F #4FC940
tetradic
#404FC9 #C94093 #C9BA40 #40C976
square
#404FC9 #C94093 #C9BA40 #40C976
split-complementary
#404FC9 #C97640 #93C940
monochromatic
#1F286F #2D399F #404FC9 #707BD6 #9FA7E4

Accessibility & contrast

On white

6.60
#404FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#404FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404FC9
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FC9#FFFFFF#000000##FFFFFF
##404FC91.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #404fc9;
/* rgb */ color: rgb(64, 79, 201);
/* oklch */ color: oklch(49.1% 0.188 272.1);
Tailwind
colors: {
  custom: {
    50: '#8580da',
    500: '#404fc9',
    950: '#000000',
  },
}
SCSS
$custom: #404fc9;
$custom-light: #8580da;
$custom-dark: #000000;
JSON
{
  "hex": "#404fc9",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 201
  },
  "hsl": {
    "h": 233.431,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49112,
    "c": 0.18822,
    "h": 272.1
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#404FC9
secondary
#D0CA94
accent
#CF49DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #404FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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