#404BAA#404BAA

#404BAA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.151 H 273.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#404BAA
RGBrgb(64, 75, 170)
HSLhsl(234, 45%, 46%)
HSVhsv(234, 62%, 67%)
CMYKcmyk(62.4%, 55.9%, 0%, 33.3%)
CIE-LABlab(36.03, 25.75, -52.50)
CIE-LCHlch(36.03, 58.47, 296.13°)
OKLaboklab(45.86% 0.0102 -0.1507)
OKLCHoklch(45.86% 0.151 273.9)
XYZxyz(11.8837, 9.0235, 39.1379)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BAA #AA9F40
analogous
#4080AA #404BAA #6A40AA
triadic
#404BAA #AA404B #4BAA40
tetradic
#404BAA #AA4080 #AA9F40 #40AA6A
square
#404BAA #AA4080 #AA9F40 #40AA6A
split-complementary
#404BAA #AA6A40 #80AA40
monochromatic
#1F2451 #2F377E #404BAA #636DC4 #8F97D5

Accessibility & contrast

On white

7.49
#404BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#404BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404BAA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BAA#FFFFFF#000000##FFFFFF
##404BAA1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #404baa;
/* rgb */ color: rgb(64, 75, 170);
/* oklch */ color: oklch(45.9% 0.151 273.9);
Tailwind
colors: {
  custom: {
    50: '#807dc4',
    500: '#404baa',
    950: '#000000',
  },
}
SCSS
$custom: #404baa;
$custom-light: #807dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#404baa",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 170
  },
  "hsl": {
    "h": 233.774,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.15107,
    "h": 273.9
  },
  "luminance": 0.09024
}

Semantic roles & 50–950 ramp

primary
#404BAA
secondary
#C0BA86
accent
#C753D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #404BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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