#404BB3#404BB3

#404BB3 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.164 H 273.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#404BB3
RGBrgb(64, 75, 179)
HSLhsl(234, 47%, 48%)
HSVhsv(234, 64%, 70%)
CMYKcmyk(64.2%, 58.1%, 0%, 29.8%)
CIE-LABlab(36.70, 28.90, -56.75)
CIE-LCHlch(36.70, 63.69, 296.99°)
OKLaboklab(46.57% 0.0104 -0.1632)
OKLCHoklch(46.57% 0.164 273.6)
XYZxyz(12.7644, 9.3757, 43.7761)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BB3 #B3A840
analogous
#4084B3 #404BB3 #6F40B3
triadic
#404BB3 #B3404B #4BB340
tetradic
#404BB3 #B34084 #B3A840 #40B36F
square
#404BB3 #B34084 #B3A840 #40B36F
split-complementary
#404BB3 #B36F40 #84B340
monochromatic
#202559 #303886 #404BB3 #6771C9 #949BD9

Accessibility & contrast

On white

7.30
#404BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#404BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404BB3
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BB3#FFFFFF#000000##FFFFFF
##404BB31.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #404bb3;
/* rgb */ color: rgb(64, 75, 179);
/* oklch */ color: oklch(46.6% 0.164 273.6);
Tailwind
colors: {
  custom: {
    50: '#817dca',
    500: '#404bb3',
    950: '#000000',
  },
}
SCSS
$custom: #404bb3;
$custom-light: #817dca;
$custom-dark: #000000;
JSON
{
  "hex": "#404bb3",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 234.261,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46567,
    "c": 0.16358,
    "h": 273.6
  },
  "luminance": 0.09377
}

Semantic roles & 50–950 ramp

primary
#404BB3
secondary
#C4BF8A
accent
#CA51D7
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #404BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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