#404CA3#404CA3

#404CA3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.140 H 273.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#404CA3
RGBrgb(64, 76, 163)
HSLhsl(233, 44%, 45%)
HSVhsv(233, 61%, 64%)
CMYKcmyk(60.7%, 53.4%, 0%, 36.1%)
CIE-LABlab(35.80, 22.66, -48.69)
CIE-LCHlch(35.80, 53.71, 294.95°)
OKLaboklab(45.52% 0.0088 -0.1395)
OKLCHoklch(45.52% 0.14 273.6)
XYZxyz(11.3075, 8.9023, 35.7657)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CA3 #A39740
analogous
#407EA3 #404CA3 #6640A3
triadic
#404CA3 #A3404C #4CA340
tetradic
#404CA3 #A3407E #A39740 #40A366
square
#404CA3 #A3407E #A39740 #40A366
split-complementary
#404CA3 #A36640 #7EA340
monochromatic
#1D234B #2F3877 #404CA3 #606BC0 #8C94D2

Accessibility & contrast

On white

7.55
#404CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#404CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404CA3
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404CA3#FFFFFF#000000##FFFFFF
##404CA31.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1759A6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #404ca3;
/* rgb */ color: rgb(64, 76, 163);
/* oklch */ color: oklch(45.5% 0.140 273.6);
Tailwind
colors: {
  custom: {
    50: '#7e7dbf',
    500: '#404ca3',
    950: '#000000',
  },
}
SCSS
$custom: #404ca3;
$custom-light: #7e7dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#404ca3",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 232.727,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45524,
    "c": 0.1398,
    "h": 273.6
  },
  "luminance": 0.08903
}

Semantic roles & 50–950 ramp

primary
#404CA3
secondary
#BDB682
accent
#C454D3
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #404CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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