#404BC1#404BC1

#404BC1 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.7% C 0.182 H 273.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#404BC1
RGBrgb(64, 75, 193)
HSLhsl(235, 51%, 50%)
HSVhsv(235, 67%, 76%)
CMYKcmyk(66.8%, 61.1%, 0%, 24.3%)
CIE-LABlab(37.79, 33.78, -63.20)
CIE-LCHlch(37.79, 71.66, 298.13°)
OKLaboklab(47.72% 0.0102 -0.1822)
OKLCHoklch(47.72% 0.182 273.2)
XYZxyz(14.2529, 9.9711, 51.6152)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BC1 #C1B640
analogous
#408BC1 #404BC1 #7640C1
triadic
#404BC1 #C1404B #4BC140
tetradic
#404BC1 #C1408B #C1B640 #40C176
square
#404BC1 #C1408B #C1B640 #40C176
split-complementary
#404BC1 #C17640 #8BC140
monochromatic
#212766 #303894 #404BC1 #6E77D0 #9CA2DF

Accessibility & contrast

On white

7.01
#404BC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404BC1
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BC1#FFFFFF#000000##FFFFFF
##404BC11.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#00697F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #404bc1;
/* rgb */ color: rgb(64, 75, 193);
/* oklch */ color: oklch(47.7% 0.182 273.2);
Tailwind
colors: {
  custom: {
    50: '#847dd5',
    500: '#404bc1',
    950: '#000000',
  },
}
SCSS
$custom: #404bc1;
$custom-light: #847dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#404bc1",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 234.884,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47719,
    "c": 0.18249,
    "h": 273.2
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

primary
#404BC1
secondary
#CBC692
accent
#CE4DDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #404BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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