#404BBD#404BBD

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

Color values

HEX#404BBD
RGBrgb(64, 75, 189)
HSLhsl(235, 49%, 50%)
HSVhsv(235, 66%, 74%)
CMYKcmyk(66.1%, 60.3%, 0%, 25.9%)
CIE-LABlab(37.47, 32.39, -61.38)
CIE-LCHlch(37.47, 69.40, 297.82°)
OKLaboklab(47.38% 0.0103 -0.1768)
OKLCHoklch(47.38% 0.177 273.3)
XYZxyz(13.8127, 9.7950, 49.2970)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BBD #BDB240
analogous
#408ABD #404BBD #7440BD
triadic
#404BBD #BD404B #4BBD40
tetradic
#404BBD #BD408A #BDB240 #40BD74
square
#404BBD #BD408A #BDB240 #40BD74
split-complementary
#404BBD #BD7440 #8ABD40
monochromatic
#212762 #31398F #404BBD #6D75CD #9AA0DD

Accessibility & contrast

On white

7.10
#404BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#404BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404BBD
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BBD#FFFFFF#000000##FFFFFF
##404BBD1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #404bbd;
/* rgb */ color: rgb(64, 75, 189);
/* oklch */ color: oklch(47.4% 0.177 273.3);
Tailwind
colors: {
  custom: {
    50: '#837dd2',
    500: '#404bbd',
    950: '#000000',
  },
}
SCSS
$custom: #404bbd;
$custom-light: #837dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#404bbd",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 234.72,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47384,
    "c": 0.17715,
    "h": 273.3
  },
  "luminance": 0.09796
}

Semantic roles & 50–950 ramp

primary
#404BBD
secondary
#C9C490
accent
#CD4FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #404BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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