#404EA0#404EA0

#404EA0 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.133 H 272.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#404EA0
RGBrgb(64, 78, 160)
HSLhsl(231, 43%, 44%)
HSVhsv(231, 60%, 63%)
CMYKcmyk(60%, 51.2%, 0%, 37.3%)
CIE-LABlab(36.13, 20.30, -46.35)
CIE-LCHlch(36.13, 50.60, 293.65°)
OKLaboklab(45.71% 0.0064 -0.1326)
OKLCHoklch(45.71% 0.133 272.8)
XYZxyz(11.1818, 9.0760, 34.4135)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404EA0 #A09240
analogous
#407EA0 #404EA0 #6240A0
triadic
#404EA0 #A0404E #4EA040
tetradic
#404EA0 #A0407E #A09240 #40A062
square
#404EA0 #A0407E #A09240 #40A062
split-complementary
#404EA0 #A06240 #7EA040
monochromatic
#1D2349 #2F3974 #404EA0 #5E6CBF #8A94D0

Accessibility & contrast

On white

7.46
#404EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#404EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404EA0
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404EA0#FFFFFF#000000##FFFFFF
##404EA01.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2259A3
Deuteranopia (green-blind)
#0E519E
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #404ea0;
/* rgb */ color: rgb(64, 78, 160);
/* oklch */ color: oklch(45.7% 0.133 272.8);
Tailwind
colors: {
  custom: {
    50: '#7e7fbd',
    500: '#404ea0',
    950: '#000000',
  },
}
SCSS
$custom: #404ea0;
$custom-light: #7e7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#404ea0",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 231.25,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45711,
    "c": 0.13278,
    "h": 272.8
  },
  "luminance": 0.09077
}

Semantic roles & 50–950 ramp

primary
#404EA0
secondary
#BBB381
accent
#C055D3
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #404EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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