#404FB6#404FB6

#404FB6 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.163 H 272.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#404FB6
RGBrgb(64, 79, 182)
HSLhsl(232, 48%, 48%)
HSVhsv(232, 65%, 71%)
CMYKcmyk(64.8%, 56.6%, 0%, 28.6%)
CIE-LABlab(37.95, 27.38, -56.50)
CIE-LCHlch(37.95, 62.78, 295.86°)
OKLaboklab(47.57% 0.0068 -0.1624)
OKLCHoklch(47.57% 0.163 272.4)
XYZxyz(13.3510, 10.0582, 45.4847)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FB6 #B6A740
analogous
#408AB6 #404FB6 #6C40B6
triadic
#404FB6 #B6404F #4FB640
tetradic
#404FB6 #B6408A #B6A740 #40B66C
square
#404FB6 #B6408A #B6A740 #40B66C
split-complementary
#404FB6 #B66C40 #8AB640
monochromatic
#20285B #303B89 #404FB6 #6975CA #969FDA

Accessibility & contrast

On white

6.97
#404FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#404FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404FB6
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FB6#FFFFFF#000000##FFFFFF
##404FB61.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #404fb6;
/* rgb */ color: rgb(64, 79, 182);
/* oklch */ color: oklch(47.6% 0.163 272.4);
Tailwind
colors: {
  custom: {
    50: '#8280cd',
    500: '#404fb6',
    950: '#000000',
  },
}
SCSS
$custom: #404fb6;
$custom-light: #8280cd;
$custom-dark: #000000;
JSON
{
  "hex": "#404fb6",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 182
  },
  "hsl": {
    "h": 232.373,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47569,
    "c": 0.16259,
    "h": 272.4
  },
  "luminance": 0.10059
}

Semantic roles & 50–950 ramp

primary
#404FB6
secondary
#C6BE8C
accent
#C650D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #404FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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