#404AA3#404AA3

#404AA3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.142 H 274.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#404AA3
RGBrgb(64, 74, 163)
HSLhsl(234, 44%, 45%)
HSVhsv(234, 61%, 64%)
CMYKcmyk(60.7%, 54.6%, 0%, 36.1%)
CIE-LABlab(35.26, 23.96, -49.55)
CIE-LCHlch(35.26, 55.04, 295.80°)
OKLaboklab(45.13% 0.0109 -0.1421)
OKLCHoklch(45.13% 0.142 274.4)
XYZxyz(11.1718, 8.6310, 35.7205)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404AA3 #A39940
analogous
#407CA3 #404AA3 #6740A3
triadic
#404AA3 #A3404A #4AA340
tetradic
#404AA3 #A3407C #A39940 #40A367
square
#404AA3 #A3407C #A39940 #40A367
split-complementary
#404AA3 #A36740 #7CA340
monochromatic
#1D224B #2F3677 #404AA3 #606AC0 #8C93D2

Accessibility & contrast

On white

7.70
#404AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#404AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404AA3
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404AA3#FFFFFF#000000##FFFFFF
##404AA31.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F57A6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #404aa3;
/* rgb */ color: rgb(64, 74, 163);
/* oklch */ color: oklch(45.1% 0.142 274.4);
Tailwind
colors: {
  custom: {
    50: '#7e7cbf',
    500: '#404aa3',
    950: '#000000',
  },
}
SCSS
$custom: #404aa3;
$custom-light: #7e7cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#404aa3",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 163
  },
  "hsl": {
    "h": 233.939,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45125,
    "c": 0.14248,
    "h": 274.4
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

primary
#404AA3
secondary
#BDB782
accent
#C754D3
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #404AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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