#404EB0#404EB0

#404EB0 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.156 H 272.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#404EB0
RGBrgb(64, 78, 176)
HSLhsl(233, 47%, 47%)
HSVhsv(233, 64%, 69%)
CMYKcmyk(63.6%, 55.7%, 0%, 31%)
CIE-LABlab(37.25, 25.92, -54.09)
CIE-LCHlch(37.25, 59.98, 295.60°)
OKLaboklab(46.91% 0.0075 -0.1554)
OKLCHoklch(46.91% 0.156 272.8)
XYZxyz(12.6726, 9.6723, 42.2650)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404EB0 #B0A240
analogous
#4086B0 #404EB0 #6A40B0
triadic
#404EB0 #B0404E #4EB040
tetradic
#404EB0 #B04086 #B0A240 #40B06A
square
#404EB0 #B04086 #B0A240 #40B06A
split-complementary
#404EB0 #B06A40 #86B040
monochromatic
#1F2656 #303A83 #404EB0 #6672C7 #939BD8

Accessibility & contrast

On white

7.16
#404EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#404EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404EB0
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404EB0#FFFFFF#000000##FFFFFF
##404EB01.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB3
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #404eb0;
/* rgb */ color: rgb(64, 78, 176);
/* oklch */ color: oklch(46.9% 0.156 272.8);
Tailwind
colors: {
  custom: {
    50: '#817fc8',
    500: '#404eb0',
    950: '#000000',
  },
}
SCSS
$custom: #404eb0;
$custom-light: #817fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#404eb0",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 232.5,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46907,
    "c": 0.15555,
    "h": 272.8
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #404EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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