#404ACD#404ACD

#404ACD is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.6% C 0.199 H 273.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#404ACD
RGBrgb(64, 74, 205)
HSLhsl(236, 59%, 53%)
HSVhsv(236, 69%, 80%)
CMYKcmyk(68.8%, 63.9%, 0%, 19.6%)
CIE-LABlab(38.54, 38.55, -68.95)
CIE-LCHlch(38.54, 79.00, 299.21°)
OKLaboklab(48.58% 0.0104 -0.1991)
OKLCHoklch(48.58% 0.199 273)
XYZxyz(15.5789, 10.3938, 58.9310)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404ACD #CDC340
analogous
#4090CD #404ACD #7D40CD
triadic
#404ACD #CD404A #4ACD40
tetradic
#404ACD #CD4090 #CDC340 #40CD7D
square
#404ACD #CD4090 #CDC340 #40CD7D
split-complementary
#404ACD #CD7D40 #90CD40
monochromatic
#1E2474 #2B34A5 #404ACD #7178DA #A1A6E6

Accessibility & contrast

On white

6.82
#404ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#404ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404ACD
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404ACD#FFFFFF#000000##FFFFFF
##404ACD1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#006C85
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #404acd;
/* rgb */ color: rgb(64, 74, 205);
/* oklch */ color: oklch(48.6% 0.199 273.0);
Tailwind
colors: {
  custom: {
    50: '#877ddd',
    500: '#404acd',
    950: '#000000',
  },
}
SCSS
$custom: #404acd;
$custom-light: #877ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#404acd",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 205
  },
  "hsl": {
    "h": 235.745,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48576,
    "c": 0.19935,
    "h": 273
  },
  "luminance": 0.10395
}

Semantic roles & 50–950 ramp

primary
#404ACD
secondary
#D3CF96
accent
#D746E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #404ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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