#404BB8#404BB8

#404BB8 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.170 H 273.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#404BB8
RGBrgb(64, 75, 184)
HSLhsl(235, 48%, 49%)
HSVhsv(235, 65%, 72%)
CMYKcmyk(65.2%, 59.2%, 0%, 27.8%)
CIE-LABlab(37.08, 30.65, -59.08)
CIE-LCHlch(37.08, 66.56, 297.42°)
OKLaboklab(46.97% 0.0104 -0.1701)
OKLCHoklch(46.97% 0.17 273.5)
XYZxyz(13.2793, 9.5817, 46.4878)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BB8 #B8AD40
analogous
#4087B8 #404BB8 #7140B8
triadic
#404BB8 #B8404B #4BB840
tetradic
#404BB8 #B84087 #B8AD40 #40B871
square
#404BB8 #B84087 #B8AD40 #40B871
split-complementary
#404BB8 #B87140 #87B840
monochromatic
#20265D #30388B #404BB8 #6A73CB #979EDB

Accessibility & contrast

On white

7.20
#404BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#404BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404BB8
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BB8#FFFFFF#000000##FFFFFF
##404BB81.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #404bb8;
/* rgb */ color: rgb(64, 75, 184);
/* oklch */ color: oklch(47.0% 0.170 273.5);
Tailwind
colors: {
  custom: {
    50: '#827dce',
    500: '#404bb8',
    950: '#000000',
  },
}
SCSS
$custom: #404bb8;
$custom-light: #827dce;
$custom-dark: #000000;
JSON
{
  "hex": "#404bb8",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 234.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46972,
    "c": 0.17041,
    "h": 273.5
  },
  "luminance": 0.09583
}

Semantic roles & 50–950 ramp

primary
#404BB8
secondary
#C7C18D
accent
#CB50D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #404BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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