#404AA0#404AA0

#404AA0 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.138 H 274.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#404AA0
RGBrgb(64, 74, 160)
HSLhsl(234, 43%, 44%)
HSVhsv(234, 60%, 63%)
CMYKcmyk(60%, 53.7%, 0%, 37.3%)
CIE-LABlab(35.05, 22.91, -48.09)
CIE-LCHlch(35.05, 53.27, 295.48°)
OKLaboklab(44.9% 0.0107 -0.1378)
OKLCHoklch(44.9% 0.138 274.4)
XYZxyz(10.9062, 8.5248, 34.3216)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404AA0 #A09640
analogous
#407AA0 #404AA0 #6640A0
triadic
#404AA0 #A0404A #4AA040
tetradic
#404AA0 #A0407A #A09640 #40A066
square
#404AA0 #A0407A #A09640 #40A066
split-complementary
#404AA0 #A06640 #7AA040
monochromatic
#1D2249 #2F3674 #404AA0 #5E68BF #8A91D0

Accessibility & contrast

On white

7.76
#404AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#404AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404AA0
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404AA0#FFFFFF#000000##FFFFFF
##404AA01.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1657A3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #404aa0;
/* rgb */ color: rgb(64, 74, 160);
/* oklch */ color: oklch(44.9% 0.138 274.4);
Tailwind
colors: {
  custom: {
    50: '#7e7cbd',
    500: '#404aa0',
    950: '#000000',
  },
}
SCSS
$custom: #404aa0;
$custom-light: #7e7cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#404aa0",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 160
  },
  "hsl": {
    "h": 233.75,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44899,
    "c": 0.13819,
    "h": 274.4
  },
  "luminance": 0.08526
}

Semantic roles & 50–950 ramp

primary
#404AA0
secondary
#BBB581
accent
#C655D3
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #404AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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