#404CBD#404CBD

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

Color values

HEX#404CBD
RGBrgb(64, 76, 189)
HSLhsl(234, 49%, 50%)
HSVhsv(234, 66%, 74%)
CMYKcmyk(66.1%, 59.8%, 0%, 25.9%)
CIE-LABlab(37.72, 31.76, -60.98)
CIE-LCHlch(37.72, 68.75, 297.51°)
OKLaboklab(47.57% 0.0095 -0.1756)
OKLCHoklch(47.57% 0.176 273.1)
XYZxyz(13.8810, 9.9318, 49.3197)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CBD #BDB140
analogous
#408BBD #404CBD #7340BD
triadic
#404CBD #BD404C #4CBD40
tetradic
#404CBD #BD408B #BDB140 #40BD73
square
#404CBD #BD408B #BDB140 #40BD73
split-complementary
#404CBD #BD7340 #8BBD40
monochromatic
#212762 #313A8F #404CBD #6D76CD #9AA1DD

Accessibility & contrast

On white

7.03
#404CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#404CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404CBD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404CBD#FFFFFF#000000##FFFFFF
##404CBD1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404cbd;
/* rgb */ color: rgb(64, 76, 189);
/* oklch */ color: oklch(47.6% 0.176 273.1);
Tailwind
colors: {
  custom: {
    50: '#837ed2',
    500: '#404cbd',
    950: '#000000',
  },
}
SCSS
$custom: #404cbd;
$custom-light: #837ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#404cbd",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 234.24,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47567,
    "c": 0.17591,
    "h": 273.1
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #404CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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