#404DC3#404DC3

#404DC3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.2% C 0.183 H 272.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#404DC3
RGBrgb(64, 77, 195)
HSLhsl(234, 52%, 51%)
HSVhsv(234, 67%, 76%)
CMYKcmyk(67.2%, 60.5%, 0%, 23.5%)
CIE-LABlab(38.44, 33.22, -63.31)
CIE-LCHlch(38.44, 71.50, 297.68°)
OKLaboklab(48.25% 0.0086 -0.1825)
OKLCHoklch(48.25% 0.183 272.7)
XYZxyz(14.6153, 10.3365, 52.8441)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DC3 #C3B640
analogous
#408EC3 #404DC3 #7440C3
triadic
#404DC3 #C3404D #4DC340
tetradic
#404DC3 #C3408E #C3B640 #40C374
square
#404DC3 #C3408E #C3B640 #40C374
split-complementary
#404DC3 #C37440 #8EC340
monochromatic
#212868 #2F3A97 #404DC3 #6F78D2 #9DA4E0

Accessibility & contrast

On white

6.85
#404DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#404DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404DC3
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DC3#FFFFFF#000000##FFFFFF
##404DC31.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #404dc3;
/* rgb */ color: rgb(64, 77, 195);
/* oklch */ color: oklch(48.2% 0.183 272.7);
Tailwind
colors: {
  custom: {
    50: '#847ed6',
    500: '#404dc3',
    950: '#000000',
  },
}
SCSS
$custom: #404dc3;
$custom-light: #847ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#404dc3",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 234.046,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48248,
    "c": 0.1827,
    "h": 272.7
  },
  "luminance": 0.10338
}

Semantic roles & 50–950 ramp

primary
#404DC3
secondary
#CCC792
accent
#CD4CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #404DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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