#404EB3#404EB3

#404EB3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.160 H 272.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#404EB3
RGBrgb(64, 78, 179)
HSLhsl(233, 47%, 48%)
HSVhsv(233, 64%, 70%)
CMYKcmyk(64.2%, 56.4%, 0%, 29.8%)
CIE-LABlab(37.47, 26.97, -55.51)
CIE-LCHlch(37.47, 61.71, 295.92°)
OKLaboklab(47.14% 0.0076 -0.1595)
OKLCHoklch(47.14% 0.16 272.7)
XYZxyz(12.9727, 9.7923, 43.8456)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404EB3 #B3A540
analogous
#4087B3 #404EB3 #6C40B3
triadic
#404EB3 #B3404E #4EB340
tetradic
#404EB3 #B34087 #B3A540 #40B36C
square
#404EB3 #B34087 #B3A540 #40B36C
split-complementary
#404EB3 #B36C40 #87B340
monochromatic
#202759 #303A86 #404EB3 #6773C9 #949DD9

Accessibility & contrast

On white

7.10
#404EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#404EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404EB3
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404EB3#FFFFFF#000000##FFFFFF
##404EB31.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #404eb3;
/* rgb */ color: rgb(64, 78, 179);
/* oklch */ color: oklch(47.1% 0.160 272.7);
Tailwind
colors: {
  custom: {
    50: '#817fca',
    500: '#404eb3',
    950: '#000000',
  },
}
SCSS
$custom: #404eb3;
$custom-light: #817fca;
$custom-dark: #000000;
JSON
{
  "hex": "#404eb3",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 232.696,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47141,
    "c": 0.15973,
    "h": 272.7
  },
  "luminance": 0.09793
}

Semantic roles & 50–950 ramp

primary
#404EB3
secondary
#C4BD8A
accent
#C751D7
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #404EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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