#404AAE#404AAE

#404AAE is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.158 H 274.1°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#404AAE
RGBrgb(64, 74, 174)
HSLhsl(235, 46%, 47%)
HSVhsv(235, 63%, 68%)
CMYKcmyk(63.2%, 57.5%, 0%, 31.8%)
CIE-LABlab(36.07, 27.80, -54.82)
CIE-LCHlch(36.07, 61.46, 296.89°)
OKLaboklab(45.98% 0.0112 -0.1576)
OKLCHoklch(45.98% 0.158 274.1)
XYZxyz(12.2006, 9.0425, 41.1386)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404AAE #AEA440
analogous
#4081AE #404AAE #6D40AE
triadic
#404AAE #AE404A #4AAE40
tetradic
#404AAE #AE4081 #AEA440 #40AE6D
square
#404AAE #AE4081 #AEA440 #40AE6D
split-complementary
#404AAE #AE6D40 #81AE40
monochromatic
#1F2455 #303781 #404AAE #656EC6 #9298D7

Accessibility & contrast

On white

7.48
#404AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#404AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404AAE
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404AAE#FFFFFF#000000##FFFFFF
##404AAE1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #404aae;
/* rgb */ color: rgb(64, 74, 174);
/* oklch */ color: oklch(46.0% 0.158 274.1);
Tailwind
colors: {
  custom: {
    50: '#807cc7',
    500: '#404aae',
    950: '#000000',
  },
}
SCSS
$custom: #404aae;
$custom-light: #807cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#404aae",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 174
  },
  "hsl": {
    "h": 234.545,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45978,
    "c": 0.15796,
    "h": 274.1
  },
  "luminance": 0.09044
}

Semantic roles & 50–950 ramp

primary
#404AAE
secondary
#C2BD88
accent
#CA52D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #404AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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