#404BBF#404BBF

#404BBF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.6% C 0.180 H 273.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#404BBF
RGBrgb(64, 75, 191)
HSLhsl(235, 50%, 50%)
HSVhsv(235, 66%, 75%)
CMYKcmyk(66.5%, 60.7%, 0%, 25.1%)
CIE-LABlab(37.63, 33.09, -62.29)
CIE-LCHlch(37.63, 70.54, 297.98°)
OKLaboklab(47.55% 0.0103 -0.1795)
OKLCHoklch(47.55% 0.18 273.3)
XYZxyz(14.0313, 9.8825, 50.4482)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BBF #BFB440
analogous
#408BBF #404BBF #7440BF
triadic
#404BBF #BF404B #4BBF40
tetradic
#404BBF #BF408B #BFB440 #40BF74
square
#404BBF #BF408B #BFB440 #40BF74
split-complementary
#404BBF #BF7440 #8BBF40
monochromatic
#212763 #313991 #404BBF #6E76CE #9CA1DE

Accessibility & contrast

On white

7.05
#404BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#404BBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404BBF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BBF#FFFFFF#000000##FFFFFF
##404BBF1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#00687E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #404bbf;
/* rgb */ color: rgb(64, 75, 191);
/* oklch */ color: oklch(47.6% 0.180 273.3);
Tailwind
colors: {
  custom: {
    50: '#847dd3',
    500: '#404bbf',
    950: '#000000',
  },
}
SCSS
$custom: #404bbf;
$custom-light: #847dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#404bbf",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 234.803,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.47551,
    "c": 0.17982,
    "h": 273.3
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#404BBF
secondary
#CAC591
accent
#CD4ED9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #404BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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