#404BCE#404BCE

#404BCE is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.8% C 0.199 H 272.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#404BCE
RGBrgb(64, 75, 206)
HSLhsl(235, 59%, 53%)
HSVhsv(235, 69%, 81%)
CMYKcmyk(68.9%, 63.6%, 0%, 19.2%)
CIE-LABlab(38.86, 38.27, -69.01)
CIE-LCHlch(38.86, 78.91, 299.01°)
OKLaboklab(48.84% 0.0096 -0.1992)
OKLCHoklch(48.84% 0.199 272.8)
XYZxyz(15.7673, 10.5769, 59.5912)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BCE #CEC340
analogous
#4092CE #404BCE #7C40CE
triadic
#404BCE #CE404B #4BCE40
tetradic
#404BCE #CE4092 #CEC340 #40CE7C
square
#404BCE #CE4092 #CEC340 #40CE7C
split-complementary
#404BCE #CE7C40 #92CE40
monochromatic
#1E2575 #2B34A6 #404BCE #7179DA #A1A7E7

Accessibility & contrast

On white

6.74
#404BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#404BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404BCE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BCE#FFFFFF#000000##FFFFFF
##404BCE1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #404bce;
/* rgb */ color: rgb(64, 75, 206);
/* oklch */ color: oklch(48.8% 0.199 272.8);
Tailwind
colors: {
  custom: {
    50: '#877dde',
    500: '#404bce',
    950: '#000000',
  },
}
SCSS
$custom: #404bce;
$custom-light: #877dde;
$custom-dark: #000000;
JSON
{
  "hex": "#404bce",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 235.352,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48835,
    "c": 0.19947,
    "h": 272.8
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#404BCE
secondary
#D4CF96
accent
#D645E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #404BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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