#404DBF#404DBF

#404DBF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.177 H 272.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#404DBF
RGBrgb(64, 77, 191)
HSLhsl(234, 50%, 50%)
HSVhsv(234, 66%, 75%)
CMYKcmyk(66.5%, 59.7%, 0%, 25.1%)
CIE-LABlab(38.12, 31.82, -61.49)
CIE-LCHlch(38.12, 69.24, 297.36°)
OKLaboklab(47.92% 0.0086 -0.1771)
OKLCHoklch(47.92% 0.177 272.8)
XYZxyz(14.1691, 10.1580, 50.4941)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DBF #BFB240
analogous
#408DBF #404DBF #7240BF
triadic
#404DBF #BF404D #4DBF40
tetradic
#404DBF #BF408D #BFB240 #40BF72
square
#404DBF #BF408D #BFB240 #40BF72
split-complementary
#404DBF #BF7240 #8DBF40
monochromatic
#212863 #313B91 #404DBF #6E78CE #9CA2DE

Accessibility & contrast

On white

6.93
#404DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #404DBF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DBF#FFFFFF#000000##FFFFFF
##404DBF1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #404dbf;
/* rgb */ color: rgb(64, 77, 191);
/* oklch */ color: oklch(47.9% 0.177 272.8);
Tailwind
colors: {
  custom: {
    50: '#847ed3',
    500: '#404dbf',
    950: '#000000',
  },
}
SCSS
$custom: #404dbf;
$custom-light: #847ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#404dbf",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 233.858,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.47916,
    "c": 0.17736,
    "h": 272.8
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#404DBF
secondary
#CAC491
accent
#CB4ED9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #404DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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