#404CCE#404CCE

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

Color values

HEX#404CCE
RGBrgb(64, 76, 206)
HSLhsl(235, 59%, 53%)
HSVhsv(235, 69%, 81%)
CMYKcmyk(68.9%, 63.1%, 0%, 19.2%)
CIE-LABlab(39.09, 37.65, -68.63)
CIE-LCHlch(39.09, 78.28, 298.75°)
OKLaboklab(49.01% 0.0089 -0.1981)
OKLCHoklch(49.01% 0.198 272.6)
XYZxyz(15.8356, 10.7136, 59.6139)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404CCE #CEC240
analogous
#4093CE #404CCE #7B40CE
triadic
#404CCE #CE404C #4CCE40
tetradic
#404CCE #CE4093 #CEC240 #40CE7B
square
#404CCE #CE4093 #CEC240 #40CE7B
split-complementary
#404CCE #CE7B40 #93CE40
monochromatic
#1E2675 #2B35A6 #404CCE #717ADA #A1A7E7

Accessibility & contrast

On white

6.68
#404CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#404CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404CCE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404CCE#FFFFFF#000000##FFFFFF
##404CCE1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#006D86
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #404cce;
/* rgb */ color: rgb(64, 76, 206);
/* oklch */ color: oklch(49.0% 0.198 272.6);
Tailwind
colors: {
  custom: {
    50: '#877ede',
    500: '#404cce',
    950: '#000000',
  },
}
SCSS
$custom: #404cce;
$custom-light: #877ede;
$custom-dark: #000000;
JSON
{
  "hex": "#404cce",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 234.93,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49008,
    "c": 0.19831,
    "h": 272.6
  },
  "luminance": 0.10715
}

Semantic roles & 50–950 ramp

primary
#404CCE
secondary
#D4CE96
accent
#D545E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #404CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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