#404FB9#404FB9

#404FB9 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.167 H 272.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#404FB9
RGBrgb(64, 79, 185)
HSLhsl(233, 49%, 49%)
HSVhsv(233, 65%, 73%)
CMYKcmyk(65.4%, 57.3%, 0%, 27.5%)
CIE-LABlab(38.17, 28.44, -57.90)
CIE-LCHlch(38.17, 64.51, 296.16°)
OKLaboklab(47.81% 0.0069 -0.1666)
OKLCHoklch(47.81% 0.167 272.4)
XYZxyz(13.6644, 10.1835, 47.1351)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FB9 #B9AA40
analogous
#408CB9 #404FB9 #6E40B9
triadic
#404FB9 #B9404F #4FB940
tetradic
#404FB9 #B9408C #B9AA40 #40B96E
square
#404FB9 #B9408C #B9AA40 #40B96E
split-complementary
#404FB9 #B96E40 #8CB940
monochromatic
#21285E #303C8C #404FB9 #6B77CC #98A0DB

Accessibility & contrast

On white

6.91
#404FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#404FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #404FB9
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FB9#FFFFFF#000000##FFFFFF
##404FB91.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #404fb9;
/* rgb */ color: rgb(64, 79, 185);
/* oklch */ color: oklch(47.8% 0.167 272.4);
Tailwind
colors: {
  custom: {
    50: '#8280cf',
    500: '#404fb9',
    950: '#000000',
  },
}
SCSS
$custom: #404fb9;
$custom-light: #8280cf;
$custom-dark: #000000;
JSON
{
  "hex": "#404fb9",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 232.562,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47806,
    "c": 0.16671,
    "h": 272.4
  },
  "luminance": 0.10185
}

Semantic roles & 50–950 ramp

primary
#404FB9
secondary
#C7C08E
accent
#C750D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #404FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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