#404EAA#404EAA

#404EAA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.147 H 272.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#404EAA
RGBrgb(64, 78, 170)
HSLhsl(232, 45%, 46%)
HSVhsv(232, 62%, 67%)
CMYKcmyk(62.4%, 54.1%, 0%, 33.3%)
CIE-LABlab(36.82, 23.81, -51.22)
CIE-LCHlch(36.82, 56.48, 294.93°)
OKLaboklab(46.45% 0.0072 -0.1469)
OKLCHoklch(46.45% 0.147 272.8)
XYZxyz(12.0920, 9.4401, 39.2073)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404EAA #AA9C40
analogous
#4083AA #404EAA #6740AA
triadic
#404EAA #AA404E #4EAA40
tetradic
#404EAA #AA4083 #AA9C40 #40AA67
square
#404EAA #AA4083 #AA9C40 #40AA67
split-complementary
#404EAA #AA6740 #83AA40
monochromatic
#1F2551 #2F3A7E #404EAA #6370C4 #8F99D5

Accessibility & contrast

On white

7.27
#404EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#404EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404EAA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404EAA#FFFFFF#000000##FFFFFF
##404EAA1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115BAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #404eaa;
/* rgb */ color: rgb(64, 78, 170);
/* oklch */ color: oklch(46.4% 0.147 272.8);
Tailwind
colors: {
  custom: {
    50: '#7f7fc4',
    500: '#404eaa',
    950: '#000000',
  },
}
SCSS
$custom: #404eaa;
$custom-light: #7f7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#404eaa",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 232.075,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46449,
    "c": 0.14712,
    "h": 272.8
  },
  "luminance": 0.09441
}

Semantic roles & 50–950 ramp

primary
#404EAA
secondary
#C0B886
accent
#C453D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #404EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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