#404BC9#404BC9

#404BC9 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.4% C 0.193 H 272.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#404BC9
RGBrgb(64, 75, 201)
HSLhsl(235, 56%, 52%)
HSVhsv(235, 68%, 79%)
CMYKcmyk(68.2%, 62.7%, 0%, 21.2%)
CIE-LABlab(38.44, 36.55, -66.80)
CIE-LCHlch(38.44, 76.14, 298.69°)
OKLaboklab(48.4% 0.0099 -0.1927)
OKLCHoklch(48.4% 0.193 272.9)
XYZxyz(15.1695, 10.3378, 56.4430)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BC9 #C9BE40
analogous
#4090C9 #404BC9 #7940C9
triadic
#404BC9 #C9404B #4BC940
tetradic
#404BC9 #C94090 #C9BE40 #40C979
square
#404BC9 #C94090 #C9BE40 #40C979
split-complementary
#404BC9 #C97940 #90C940
monochromatic
#1F266F #2D369F #404BC9 #7078D6 #9FA5E4

Accessibility & contrast

On white

6.85
#404BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#404BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404BC9
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BC9#FFFFFF#000000##FFFFFF
##404BC91.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404bc9;
/* rgb */ color: rgb(64, 75, 201);
/* oklch */ color: oklch(48.4% 0.193 272.9);
Tailwind
colors: {
  custom: {
    50: '#867dda',
    500: '#404bc9',
    950: '#000000',
  },
}
SCSS
$custom: #404bc9;
$custom-light: #867dda;
$custom-dark: #000000;
JSON
{
  "hex": "#404bc9",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 235.182,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48401,
    "c": 0.193,
    "h": 272.9
  },
  "luminance": 0.10339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #404BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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