#404CB0#404CB0

#404CB0 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.158 H 273.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#404CB0
RGBrgb(64, 76, 176)
HSLhsl(234, 47%, 47%)
HSVhsv(234, 64%, 69%)
CMYKcmyk(63.6%, 56.8%, 0%, 31%)
CIE-LABlab(36.73, 27.21, -54.93)
CIE-LCHlch(36.73, 61.30, 296.35°)
OKLaboklab(46.52% 0.0094 -0.1579)
OKLCHoklch(46.52% 0.158 273.4)
XYZxyz(12.5327, 9.3924, 42.2183)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CB0 #B0A440
analogous
#4084B0 #404CB0 #6C40B0
triadic
#404CB0 #B0404C #4CB040
tetradic
#404CB0 #B04084 #B0A440 #40B06C
square
#404CB0 #B04084 #B0A440 #40B06C
split-complementary
#404CB0 #B06C40 #84B040
monochromatic
#1F2556 #303983 #404CB0 #6670C7 #939AD8

Accessibility & contrast

On white

7.30
#404CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#404CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404CB0
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404CB0#FFFFFF#000000##FFFFFF
##404CB01.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #404cb0;
/* rgb */ color: rgb(64, 76, 176);
/* oklch */ color: oklch(46.5% 0.158 273.4);
Tailwind
colors: {
  custom: {
    50: '#817ec8',
    500: '#404cb0',
    950: '#000000',
  },
}
SCSS
$custom: #404cb0;
$custom-light: #817ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#404cb0",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 233.571,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46519,
    "c": 0.15815,
    "h": 273.4
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#404CB0
secondary
#C3BD89
accent
#C851D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #404CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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