#404ABA#404ABA

#404ABA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.0% C 0.174 H 273.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#404ABA
RGBrgb(64, 74, 186)
HSLhsl(235, 49%, 49%)
HSVhsv(235, 66%, 73%)
CMYKcmyk(65.6%, 60.2%, 0%, 27.1%)
CIE-LABlab(36.99, 31.98, -60.41)
CIE-LCHlch(36.99, 68.35, 297.90°)
OKLaboklab(46.95% 0.0112 -0.174)
OKLCHoklch(46.95% 0.174 273.7)
XYZxyz(13.4231, 9.5315, 47.5772)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404ABA #BAB040
analogous
#4087BA #404ABA #7340BA
triadic
#404ABA #BA404A #4ABA40
tetradic
#404ABA #BA4087 #BAB040 #40BA73
square
#404ABA #BA4087 #BAB040 #40BA73
split-complementary
#404ABA #BA7340 #87BA40
monochromatic
#21265F #30388C #404ABA #6B73CC #999EDC

Accessibility & contrast

On white

7.22
#404ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#404ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404ABA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404ABA#FFFFFF#000000##FFFFFF
##404ABA1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #404aba;
/* rgb */ color: rgb(64, 74, 186);
/* oklch */ color: oklch(47.0% 0.174 273.7);
Tailwind
colors: {
  custom: {
    50: '#837cd0',
    500: '#404aba',
    950: '#000000',
  },
}
SCSS
$custom: #404aba;
$custom-light: #837cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#404aba",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 235.082,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46952,
    "c": 0.17436,
    "h": 273.7
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#404ABA
secondary
#C8C38E
accent
#CD4FD8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #404ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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