#404CCD#404CCD

#404CCD is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.9% C 0.197 H 272.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#404CCD
RGBrgb(64, 76, 205)
HSLhsl(235, 59%, 53%)
HSVhsv(235, 69%, 80%)
CMYKcmyk(68.8%, 62.9%, 0%, 19.6%)
CIE-LABlab(39.01, 37.31, -68.18)
CIE-LCHlch(39.01, 77.72, 298.69°)
OKLaboklab(48.92% 0.009 -0.1968)
OKLCHoklch(48.92% 0.197 272.6)
XYZxyz(15.7145, 10.6652, 58.9762)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CCD #CDC140
analogous
#4092CD #404CCD #7B40CD
triadic
#404CCD #CD404C #4CCD40
tetradic
#404CCD #CD4092 #CDC140 #40CD7B
square
#404CCD #CD4092 #CDC140 #40CD7B
split-complementary
#404CCD #CD7B40 #92CD40
monochromatic
#1E2674 #2B35A5 #404CCD #7179DA #A1A7E6

Accessibility & contrast

On white

6.70
#404CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#404CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404CCD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404CCD#FFFFFF#000000##FFFFFF
##404CCD1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #404ccd;
/* rgb */ color: rgb(64, 76, 205);
/* oklch */ color: oklch(48.9% 0.197 272.6);
Tailwind
colors: {
  custom: {
    50: '#867edd',
    500: '#404ccd',
    950: '#000000',
  },
}
SCSS
$custom: #404ccd;
$custom-light: #867edd;
$custom-dark: #000000;
JSON
{
  "hex": "#404ccd",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 234.894,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48921,
    "c": 0.19701,
    "h": 272.6
  },
  "luminance": 0.10667
}

Semantic roles & 50–950 ramp

primary
#404CCD
secondary
#D3CE96
accent
#D446E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #404CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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