#404DC8#404DC8

#404DC8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.7% C 0.189 H 272.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#404DC8
RGBrgb(64, 77, 200)
HSLhsl(234, 55%, 52%)
HSVhsv(234, 68%, 78%)
CMYKcmyk(68%, 61.5%, 0%, 21.6%)
CIE-LABlab(38.84, 34.96, -65.57)
CIE-LCHlch(38.84, 74.30, 298.06°)
OKLaboklab(48.67% 0.0084 -0.1891)
OKLCHoklch(48.67% 0.189 272.6)
XYZxyz(15.1901, 10.5664, 55.8714)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DC8 #C8BB40
analogous
#4091C8 #404DC8 #7740C8
triadic
#404DC8 #C8404D #4DC840
tetradic
#404DC8 #C84091 #C8BB40 #40C877
square
#404DC8 #C84091 #C8BB40 #40C877
split-complementary
#404DC8 #C87740 #91C840
monochromatic
#20276E #2D389D #404DC8 #7079D6 #9FA6E3

Accessibility & contrast

On white

6.74
#404DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#404DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404DC8
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DC8#FFFFFF#000000##FFFFFF
##404DC81.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #404dc8;
/* rgb */ color: rgb(64, 77, 200);
/* oklch */ color: oklch(48.7% 0.189 272.6);
Tailwind
colors: {
  custom: {
    50: '#857fda',
    500: '#404dc8',
    950: '#000000',
  },
}
SCSS
$custom: #404dc8;
$custom-light: #857fda;
$custom-dark: #000000;
JSON
{
  "hex": "#404dc8",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 234.265,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48669,
    "c": 0.18931,
    "h": 272.6
  },
  "luminance": 0.10568
}

Semantic roles & 50–950 ramp

primary
#404DC8
secondary
#D0CA94
accent
#D049DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #404DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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