#404BAC#404BAC

#404BAC is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.154 H 273.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#404BAC
RGBrgb(64, 75, 172)
HSLhsl(234, 46%, 46%)
HSVhsv(234, 63%, 67%)
CMYKcmyk(62.8%, 56.4%, 0%, 32.5%)
CIE-LABlab(36.18, 26.46, -53.45)
CIE-LCHlch(36.18, 59.64, 296.33°)
OKLaboklab(46.01% 0.0102 -0.1535)
OKLCHoklch(46.01% 0.154 273.8)
XYZxyz(12.0744, 9.0997, 40.1419)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BAC #ACA140
analogous
#4081AC #404BAC #6B40AC
triadic
#404BAC #AC404B #4BAC40
tetradic
#404BAC #AC4081 #ACA140 #40AC6B
square
#404BAC #AC4081 #ACA140 #40AC6B
split-complementary
#404BAC #AC6B40 #81AC40
monochromatic
#1F2453 #2F387F #404BAC #646EC5 #9198D6

Accessibility & contrast

On white

7.45
#404BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#404BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404BAC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BAC#FFFFFF#000000##FFFFFF
##404BAC1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404bac;
/* rgb */ color: rgb(64, 75, 172);
/* oklch */ color: oklch(46.0% 0.154 273.8);
Tailwind
colors: {
  custom: {
    50: '#807dc5',
    500: '#404bac',
    950: '#000000',
  },
}
SCSS
$custom: #404bac;
$custom-light: #807dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#404bac",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 233.889,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46013,
    "c": 0.15387,
    "h": 273.8
  },
  "luminance": 0.09101
}

Semantic roles & 50–950 ramp

primary
#404BAC
secondary
#C1BB87
accent
#C852D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #404BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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