#404EBB#404EBB

#404EBB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.8% C 0.171 H 272.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#404EBB
RGBrgb(64, 78, 187)
HSLhsl(233, 49%, 49%)
HSVhsv(233, 66%, 73%)
CMYKcmyk(65.8%, 58.3%, 0%, 26.7%)
CIE-LABlab(38.07, 29.78, -59.24)
CIE-LCHlch(38.07, 66.31, 296.69°)
OKLaboklab(47.78% 0.0078 -0.1705)
OKLCHoklch(47.78% 0.171 272.6)
XYZxyz(13.8054, 10.1254, 48.2309)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404EBB #BBAD40
analogous
#408CBB #404EBB #7040BB
triadic
#404EBB #BB404E #4EBB40
tetradic
#404EBB #BB408C #BBAD40 #40BB70
square
#404EBB #BB408C #BBAD40 #40BB70
split-complementary
#404EBB #BB7040 #8CBB40
monochromatic
#212860 #303B8D #404EBB #6C77CD #99A1DC

Accessibility & contrast

On white

6.94
#404EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#404EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404EBB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404EBB#FFFFFF#000000##FFFFFF
##404EBB1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #404ebb;
/* rgb */ color: rgb(64, 78, 187);
/* oklch */ color: oklch(47.8% 0.171 272.6);
Tailwind
colors: {
  custom: {
    50: '#837fd0',
    500: '#404ebb',
    950: '#000000',
  },
}
SCSS
$custom: #404ebb;
$custom-light: #837fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#404ebb",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 233.171,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47776,
    "c": 0.17071,
    "h": 272.6
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

primary
#404EBB
secondary
#C8C28F
accent
#C94FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #404EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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