#404DB0#404DB0

#404DB0 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.157 H 273.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#404DB0
RGBrgb(64, 77, 176)
HSLhsl(233, 47%, 47%)
HSVhsv(233, 64%, 69%)
CMYKcmyk(63.6%, 56.2%, 0%, 31%)
CIE-LABlab(36.99, 26.56, -54.51)
CIE-LCHlch(36.99, 60.64, 295.98°)
OKLaboklab(46.71% 0.0085 -0.1566)
OKLCHoklch(46.71% 0.157 273.1)
XYZxyz(12.6021, 9.5313, 42.2415)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DB0 #B0A340
analogous
#4085B0 #404DB0 #6B40B0
triadic
#404DB0 #B0404D #4DB040
tetradic
#404DB0 #B04085 #B0A340 #40B06B
square
#404DB0 #B04085 #B0A340 #40B06B
split-complementary
#404DB0 #B06B40 #85B040
monochromatic
#1F2656 #303983 #404DB0 #6671C7 #939BD8

Accessibility & contrast

On white

7.23
#404DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#404DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404DB0
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DB0#FFFFFF#000000##FFFFFF
##404DB01.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #404db0;
/* rgb */ color: rgb(64, 77, 176);
/* oklch */ color: oklch(46.7% 0.157 273.1);
Tailwind
colors: {
  custom: {
    50: '#817ec8',
    500: '#404db0',
    950: '#000000',
  },
}
SCSS
$custom: #404db0;
$custom-light: #817ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#404db0",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 176
  },
  "hsl": {
    "h": 233.036,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46713,
    "c": 0.15685,
    "h": 273.1
  },
  "luminance": 0.09532
}

Semantic roles & 50–950 ramp

primary
#404DB0
secondary
#C3BC89
accent
#C751D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #404DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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