#404CB9#404CB9

#404CB9 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.171 H 273.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#404CB9
RGBrgb(64, 76, 185)
HSLhsl(234, 49%, 49%)
HSVhsv(234, 65%, 73%)
CMYKcmyk(65.4%, 58.9%, 0%, 27.5%)
CIE-LABlab(37.41, 30.36, -59.13)
CIE-LCHlch(37.41, 66.47, 297.18°)
OKLaboklab(47.24% 0.0095 -0.1702)
OKLCHoklch(47.24% 0.171 273.2)
XYZxyz(13.4528, 9.7605, 47.0645)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CB9 #B9AD40
analogous
#4089B9 #404CB9 #7140B9
triadic
#404CB9 #B9404C #4CB940
tetradic
#404CB9 #B94089 #B9AD40 #40B971
square
#404CB9 #B94089 #B9AD40 #40B971
split-complementary
#404CB9 #B97140 #89B940
monochromatic
#21275E #30398C #404CB9 #6B74CC #989FDB

Accessibility & contrast

On white

7.11
#404CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#404CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404CB9
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404CB9#FFFFFF#000000##FFFFFF
##404CB91.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #404cb9;
/* rgb */ color: rgb(64, 76, 185);
/* oklch */ color: oklch(47.2% 0.171 273.2);
Tailwind
colors: {
  custom: {
    50: '#827ecf',
    500: '#404cb9',
    950: '#000000',
  },
}
SCSS
$custom: #404cb9;
$custom-light: #827ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#404cb9",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 234.05,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4724,
    "c": 0.17051,
    "h": 273.2
  },
  "luminance": 0.09762
}

Semantic roles & 50–950 ramp

primary
#404CB9
secondary
#C7C18E
accent
#CB50D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #404CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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