#404BBC#404BBC

#404BBC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.176 H 273.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#404BBC
RGBrgb(64, 75, 188)
HSLhsl(235, 49%, 49%)
HSVhsv(235, 66%, 74%)
CMYKcmyk(66%, 60.1%, 0%, 26.3%)
CIE-LABlab(37.39, 32.04, -60.92)
CIE-LCHlch(37.39, 68.84, 297.74°)
OKLaboklab(47.3% 0.0104 -0.1755)
OKLCHoklch(47.3% 0.176 273.4)
XYZxyz(13.7045, 9.7518, 48.7273)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BBC #BCB140
analogous
#4089BC #404BBC #7340BC
triadic
#404BBC #BC404B #4BBC40
tetradic
#404BBC #BC4089 #BCB140 #40BC73
square
#404BBC #BC4089 #BCB140 #40BC73
split-complementary
#404BBC #BC7340 #89BC40
monochromatic
#212761 #30398E #404BBC #6C75CD #9AA0DD

Accessibility & contrast

On white

7.12
#404BBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404BBC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BBC#FFFFFF#000000##FFFFFF
##404BBC1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404bbc;
/* rgb */ color: rgb(64, 75, 188);
/* oklch */ color: oklch(47.3% 0.176 273.4);
Tailwind
colors: {
  custom: {
    50: '#837dd1',
    500: '#404bbc',
    950: '#000000',
  },
}
SCSS
$custom: #404bbc;
$custom-light: #837dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#404bbc",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 234.677,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47301,
    "c": 0.1758,
    "h": 273.4
  },
  "luminance": 0.09753
}

Semantic roles & 50–950 ramp

primary
#404BBC
secondary
#C9C38F
accent
#CD4FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #404BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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