#404CBE#404CBE

#404CBE is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.6% C 0.177 H 273.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#404CBE
RGBrgb(64, 76, 190)
HSLhsl(234, 50%, 50%)
HSVhsv(234, 66%, 75%)
CMYKcmyk(66.3%, 60%, 0%, 25.5%)
CIE-LABlab(37.80, 32.11, -61.44)
CIE-LCHlch(37.80, 69.32, 297.59°)
OKLaboklab(47.65% 0.0095 -0.177)
OKLCHoklch(47.65% 0.177 273.1)
XYZxyz(13.9900, 9.9753, 49.8934)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CBE #BEB240
analogous
#408BBE #404CBE #7340BE
triadic
#404CBE #BE404C #4CBE40
tetradic
#404CBE #BE408B #BEB240 #40BE73
square
#404CBE #BE408B #BEB240 #40BE73
split-complementary
#404CBE #BE7340 #8BBE40
monochromatic
#212762 #313A90 #404CBE #6D76CE #9BA1DD

Accessibility & contrast

On white

7.01
#404CBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#404CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404CBE
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404CBE#FFFFFF#000000##FFFFFF
##404CBE1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #404cbe;
/* rgb */ color: rgb(64, 76, 190);
/* oklch */ color: oklch(47.6% 0.177 273.1);
Tailwind
colors: {
  custom: {
    50: '#837ed2',
    500: '#404cbe',
    950: '#000000',
  },
}
SCSS
$custom: #404cbe;
$custom-light: #837ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#404cbe",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 234.286,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4765,
    "c": 0.17725,
    "h": 273.1
  },
  "luminance": 0.09977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #404CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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