#404DA0#404DA0

#404DA0 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.134 H 273.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#404DA0
RGBrgb(64, 77, 160)
HSLhsl(232, 43%, 44%)
HSVhsv(232, 60%, 63%)
CMYKcmyk(60%, 51.9%, 0%, 37.3%)
CIE-LABlab(35.86, 20.95, -46.79)
CIE-LCHlch(35.86, 51.27, 294.12°)
OKLaboklab(45.51% 0.0075 -0.1339)
OKLCHoklch(45.51% 0.134 273.2)
XYZxyz(11.1113, 8.9349, 34.3900)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404DA0 #A09340
analogous
#407DA0 #404DA0 #6340A0
triadic
#404DA0 #A0404D #4DA040
tetradic
#404DA0 #A0407D #A09340 #40A063
square
#404DA0 #A0407D #A09340 #40A063
split-complementary
#404DA0 #A06340 #7DA040
monochromatic
#1D2349 #2F3874 #404DA0 #5E6BBF #8A94D0

Accessibility & contrast

On white

7.53
#404DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#404DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404DA0
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404DA0#FFFFFF#000000##FFFFFF
##404DA01.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F59A3
Deuteranopia (green-blind)
#08509E
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #404da0;
/* rgb */ color: rgb(64, 77, 160);
/* oklch */ color: oklch(45.5% 0.134 273.2);
Tailwind
colors: {
  custom: {
    50: '#7e7ebd',
    500: '#404da0',
    950: '#000000',
  },
}
SCSS
$custom: #404da0;
$custom-light: #7e7ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#404da0",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 160
  },
  "hsl": {
    "h": 231.875,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45506,
    "c": 0.13413,
    "h": 273.2
  },
  "luminance": 0.08936
}

Semantic roles & 50–950 ramp

primary
#404DA0
secondary
#BBB381
accent
#C255D3
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #404DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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