#404DC9#404DC9

#404DC9 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.8% C 0.191 H 272.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#404DC9
RGBrgb(64, 77, 201)
HSLhsl(234, 56%, 52%)
HSVhsv(234, 68%, 79%)
CMYKcmyk(68.2%, 61.7%, 0%, 21.2%)
CIE-LABlab(38.92, 35.30, -66.01)
CIE-LCHlch(38.92, 74.86, 298.14°)
OKLaboklab(48.75% 0.0084 -0.1904)
OKLCHoklch(48.75% 0.191 272.5)
XYZxyz(15.3073, 10.6133, 56.4889)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DC9 #C9BC40
analogous
#4091C9 #404DC9 #7840C9
triadic
#404DC9 #C9404D #4DC940
tetradic
#404DC9 #C94091 #C9BC40 #40C978
square
#404DC9 #C94091 #C9BC40 #40C978
split-complementary
#404DC9 #C97840 #91C940
monochromatic
#1F276F #2D389F #404DC9 #7079D6 #9FA6E4

Accessibility & contrast

On white

6.72
#404DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#404DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404DC9
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DC9#FFFFFF#000000##FFFFFF
##404DC91.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #404dc9;
/* rgb */ color: rgb(64, 77, 201);
/* oklch */ color: oklch(48.8% 0.191 272.5);
Tailwind
colors: {
  custom: {
    50: '#867fda',
    500: '#404dc9',
    950: '#000000',
  },
}
SCSS
$custom: #404dc9;
$custom-light: #867fda;
$custom-dark: #000000;
JSON
{
  "hex": "#404dc9",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 234.307,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48754,
    "c": 0.19062,
    "h": 272.5
  },
  "luminance": 0.10615
}

Semantic roles & 50–950 ramp

primary
#404DC9
secondary
#D0CB94
accent
#D149DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #404DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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