#404BC8#404BC8

#404BC8 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.3% C 0.192 H 273.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#404BC8
RGBrgb(64, 75, 200)
HSLhsl(235, 55%, 52%)
HSVhsv(235, 68%, 78%)
CMYKcmyk(68%, 62.5%, 0%, 21.6%)
CIE-LABlab(38.36, 36.21, -66.35)
CIE-LCHlch(38.36, 75.59, 298.62°)
OKLaboklab(48.32% 0.01 -0.1914)
OKLCHoklch(48.32% 0.192 273)
XYZxyz(15.0523, 10.2909, 55.8255)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BC8 #C8BD40
analogous
#408FC8 #404BC8 #7940C8
triadic
#404BC8 #C8404B #4BC840
tetradic
#404BC8 #C8408F #C8BD40 #40C879
square
#404BC8 #C8408F #C8BD40 #40C879
split-complementary
#404BC8 #C87940 #8FC840
monochromatic
#20266E #2D369D #404BC8 #7078D6 #9FA5E3

Accessibility & contrast

On white

6.87
#404BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#404BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404BC8
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BC8#FFFFFF#000000##FFFFFF
##404BC81.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0054C6
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #404bc8;
/* rgb */ color: rgb(64, 75, 200);
/* oklch */ color: oklch(48.3% 0.192 273.0);
Tailwind
colors: {
  custom: {
    50: '#867dda',
    500: '#404bc8',
    950: '#000000',
  },
}
SCSS
$custom: #404bc8;
$custom-light: #867dda;
$custom-dark: #000000;
JSON
{
  "hex": "#404bc8",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 235.147,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48315,
    "c": 0.1917,
    "h": 273
  },
  "luminance": 0.10292
}

Semantic roles & 50–950 ramp

primary
#404BC8
secondary
#D0CB94
accent
#D349DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #404BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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