#404CB3#404CB3

#404CB3 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.162 H 273.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#404CB3
RGBrgb(64, 76, 179)
HSLhsl(234, 47%, 48%)
HSVhsv(234, 64%, 70%)
CMYKcmyk(64.2%, 57.5%, 0%, 29.8%)
CIE-LABlab(36.95, 28.26, -56.34)
CIE-LCHlch(36.95, 63.03, 296.64°)
OKLaboklab(46.76% 0.0095 -0.162)
OKLCHoklch(46.76% 0.162 273.3)
XYZxyz(12.8328, 9.5124, 43.7989)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CB3 #B3A740
analogous
#4086B3 #404CB3 #6D40B3
triadic
#404CB3 #B3404C #4CB340
tetradic
#404CB3 #B34086 #B3A740 #40B36D
square
#404CB3 #B34086 #B3A740 #40B36D
split-complementary
#404CB3 #B36D40 #86B340
monochromatic
#202659 #303986 #404CB3 #6772C9 #949CD9

Accessibility & contrast

On white

7.23
#404CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#404CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404CB3
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404CB3#FFFFFF#000000##FFFFFF
##404CB31.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #404cb3;
/* rgb */ color: rgb(64, 76, 179);
/* oklch */ color: oklch(46.8% 0.162 273.3);
Tailwind
colors: {
  custom: {
    50: '#817eca',
    500: '#404cb3',
    950: '#000000',
  },
}
SCSS
$custom: #404cb3;
$custom-light: #817eca;
$custom-dark: #000000;
JSON
{
  "hex": "#404cb3",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 233.739,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46757,
    "c": 0.1623,
    "h": 273.3
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#404CB3
secondary
#C4BE8A
accent
#C951D7
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #404CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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