#404ACA#404ACA

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

Color values

HEX#404ACA
RGBrgb(64, 74, 202)
HSLhsl(236, 57%, 52%)
HSVhsv(236, 68%, 79%)
CMYKcmyk(68.3%, 63.4%, 0%, 20.8%)
CIE-LABlab(38.29, 37.52, -67.63)
CIE-LCHlch(38.29, 77.34, 299.02°)
OKLaboklab(48.31% 0.0106 -0.1952)
OKLCHoklch(48.31% 0.195 273.1)
XYZxyz(15.2202, 10.2504, 57.0421)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404ACA #CAC040
analogous
#408FCA #404ACA #7B40CA
triadic
#404ACA #CA404A #4ACA40
tetradic
#404ACA #CA408F #CAC040 #40CA7B
square
#404ACA #CA408F #CAC040 #40CA7B
split-complementary
#404ACA #CA7B40 #8FCA40
monochromatic
#1F2570 #2C35A0 #404ACA #7077D7 #A0A5E5

Accessibility & contrast

On white

6.88
#404ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#404ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404ACA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404ACA#FFFFFF#000000##FFFFFF
##404ACA1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #404aca;
/* rgb */ color: rgb(64, 74, 202);
/* oklch */ color: oklch(48.3% 0.195 273.1);
Tailwind
colors: {
  custom: {
    50: '#867cdb',
    500: '#404aca',
    950: '#000000',
  },
}
SCSS
$custom: #404aca;
$custom-light: #867cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#404aca",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 235.652,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48314,
    "c": 0.19548,
    "h": 273.1
  },
  "luminance": 0.10252
}

Semantic roles & 50–950 ramp

primary
#404ACA
secondary
#D1CD95
accent
#D548E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #404ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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