#404BC0#404BC0

#404BC0 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.6% C 0.181 H 273.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#404BC0
RGBrgb(64, 75, 192)
HSLhsl(235, 50%, 50%)
HSVhsv(235, 67%, 75%)
CMYKcmyk(66.7%, 60.9%, 0%, 24.7%)
CIE-LABlab(37.71, 33.44, -62.75)
CIE-LCHlch(37.71, 71.10, 298.05°)
OKLaboklab(47.64% 0.0103 -0.1809)
OKLCHoklch(47.64% 0.181 273.2)
XYZxyz(14.1417, 9.9266, 51.0297)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BC0 #C0B540
analogous
#408BC0 #404BC0 #7540C0
triadic
#404BC0 #C0404B #4BC040
tetradic
#404BC0 #C0408B #C0B540 #40C075
square
#404BC0 #C0408B #C0B540 #40C075
split-complementary
#404BC0 #C07540 #8BC040
monochromatic
#212764 #303992 #404BC0 #6E76CF #9CA2DE

Accessibility & contrast

On white

7.03
#404BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#404BC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404BC0
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BC0#FFFFFF#000000##FFFFFF
##404BC01.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#00687E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #404bc0;
/* rgb */ color: rgb(64, 75, 192);
/* oklch */ color: oklch(47.6% 0.181 273.2);
Tailwind
colors: {
  custom: {
    50: '#847dd4',
    500: '#404bc0',
    950: '#000000',
  },
}
SCSS
$custom: #404bc0;
$custom-light: #847dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#404bc0",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 234.844,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47635,
    "c": 0.18115,
    "h": 273.2
  },
  "luminance": 0.09928
}

Semantic roles & 50–950 ramp

primary
#404BC0
secondary
#CBC691
accent
#CE4EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #404BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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