#404DD3#404DD3

#404DD3 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 49.6% C 0.204 H 272.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#404DD3
RGBrgb(64, 77, 211)
HSLhsl(235, 63%, 54%)
HSVhsv(235, 70%, 83%)
CMYKcmyk(69.7%, 63.5%, 0%, 17.3%)
CIE-LABlab(39.75, 38.76, -70.44)
CIE-LCHlch(39.75, 80.40, 298.82°)
OKLaboklab(49.62% 0.0079 -0.2034)
OKLCHoklch(49.62% 0.204 272.2)
XYZxyz(16.5221, 11.0993, 62.8870)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DD3 #D3C640
analogous
#4097D3 #404DD3 #7D40D3
triadic
#404DD3 #D3404D #4DD340
tetradic
#404DD3 #D34097 #D3C640 #40D37D
square
#404DD3 #D34097 #D3C640 #40D37D
split-complementary
#404DD3 #D37D40 #97D340
monochromatic
#1D257C #2834AE #404DD3 #727BDE #A3AAEA

Accessibility & contrast

On white

6.52
#404DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#404DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404DD3
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DD3#FFFFFF#000000##FFFFFF
##404DD31.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0057D0
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #404dd3;
/* rgb */ color: rgb(64, 77, 211);
/* oklch */ color: oklch(49.6% 0.204 272.2);
Tailwind
colors: {
  custom: {
    50: '#887fe2',
    500: '#404dd3',
    950: '#000000',
  },
}
SCSS
$custom: #404dd3;
$custom-light: #887fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#404dd3",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 234.694,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49616,
    "c": 0.20357,
    "h": 272.2
  },
  "luminance": 0.11101
}

Semantic roles & 50–950 ramp

primary
#404DD3
secondary
#D7D198
accent
#D742E6
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #404DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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