#404CBB#404CBB

#404CBB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.4% C 0.173 H 273.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#404CBB
RGBrgb(64, 76, 187)
HSLhsl(234, 49%, 49%)
HSVhsv(234, 66%, 73%)
CMYKcmyk(65.8%, 59.4%, 0%, 26.7%)
CIE-LABlab(37.56, 31.06, -60.06)
CIE-LCHlch(37.56, 67.61, 297.35°)
OKLaboklab(47.4% 0.0095 -0.1729)
OKLCHoklch(47.4% 0.173 273.1)
XYZxyz(13.6654, 9.8455, 48.1843)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CBB #BBAF40
analogous
#408ABB #404CBB #7240BB
triadic
#404CBB #BB404C #4CBB40
tetradic
#404CBB #BB408A #BBAF40 #40BB72
square
#404CBB #BB408A #BBAF40 #40BB72
split-complementary
#404CBB #BB7240 #8ABB40
monochromatic
#212760 #30398D #404CBB #6C75CD #99A0DC

Accessibility & contrast

On white

7.07
#404CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#404CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404CBB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404CBB#FFFFFF#000000##FFFFFF
##404CBB1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #404cbb;
/* rgb */ color: rgb(64, 76, 187);
/* oklch */ color: oklch(47.4% 0.173 273.1);
Tailwind
colors: {
  custom: {
    50: '#837ed0',
    500: '#404cbb',
    950: '#000000',
  },
}
SCSS
$custom: #404cbb;
$custom-light: #837ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#404cbb",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 234.146,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47403,
    "c": 0.17321,
    "h": 273.1
  },
  "luminance": 0.09847
}

Semantic roles & 50–950 ramp

primary
#404CBB
secondary
#C8C28F
accent
#CB4FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #404CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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