#404ACB#404ACB

#404ACB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.4% C 0.197 H 273.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#404ACB
RGBrgb(64, 74, 203)
HSLhsl(236, 57%, 52%)
HSVhsv(236, 68%, 80%)
CMYKcmyk(68.5%, 63.5%, 0%, 20.4%)
CIE-LABlab(38.37, 37.86, -68.07)
CIE-LCHlch(38.37, 77.89, 299.08°)
OKLaboklab(48.4% 0.0105 -0.1965)
OKLCHoklch(48.4% 0.197 273.1)
XYZxyz(15.3390, 10.2979, 57.6677)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404ACB #CBC140
analogous
#4090CB #404ACB #7B40CB
triadic
#404ACB #CB404A #4ACB40
tetradic
#404ACB #CB4090 #CBC140 #40CB7B
square
#404ACB #CB4090 #CBC140 #40CB7B
split-complementary
#404ACB #CB7B40 #90CB40
monochromatic
#1F2572 #2C35A2 #404ACB #7078D8 #A0A5E5

Accessibility & contrast

On white

6.86
#404ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#404ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404ACB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404ACB#FFFFFF#000000##FFFFFF
##404ACB1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0054C9
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #404acb;
/* rgb */ color: rgb(64, 74, 203);
/* oklch */ color: oklch(48.4% 0.197 273.1);
Tailwind
colors: {
  custom: {
    50: '#867cdc',
    500: '#404acb',
    950: '#000000',
  },
}
SCSS
$custom: #404acb;
$custom-light: #867cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#404acb",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 235.683,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48401,
    "c": 0.19677,
    "h": 273.1
  },
  "luminance": 0.10299
}

Semantic roles & 50–950 ramp

primary
#404ACB
secondary
#D2CD95
accent
#D547E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #404ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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