#404CAB#404CAB

#404CAB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.151 H 273.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#404CAB
RGBrgb(64, 76, 171)
HSLhsl(233, 46%, 46%)
HSVhsv(233, 63%, 67%)
CMYKcmyk(62.6%, 55.6%, 0%, 32.9%)
CIE-LABlab(36.36, 25.46, -52.55)
CIE-LCHlch(36.36, 58.39, 295.85°)
OKLaboklab(46.13% 0.0092 -0.1509)
OKLCHoklch(46.13% 0.151 273.5)
XYZxyz(12.0471, 9.1982, 39.6608)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CAB #AB9F40
analogous
#4081AB #404CAB #6940AB
triadic
#404CAB #AB404C #4CAB40
tetradic
#404CAB #AB4081 #AB9F40 #40AB69
square
#404CAB #AB4081 #AB9F40 #40AB69
split-complementary
#404CAB #AB6940 #81AB40
monochromatic
#1F2452 #2F387E #404CAB #636EC5 #9098D5

Accessibility & contrast

On white

7.39
#404CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#404CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404CAB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404CAB#FFFFFF#000000##FFFFFF
##404CAB1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015AAE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #404cab;
/* rgb */ color: rgb(64, 76, 171);
/* oklch */ color: oklch(46.1% 0.151 273.5);
Tailwind
colors: {
  custom: {
    50: '#807dc5',
    500: '#404cab',
    950: '#000000',
  },
}
SCSS
$custom: #404cab;
$custom-light: #807dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#404cab",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 171
  },
  "hsl": {
    "h": 233.271,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4613,
    "c": 0.15116,
    "h": 273.5
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #404CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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