#404FAA#404FAA

#404FAA is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.146 H 272.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#404FAA
RGBrgb(64, 79, 170)
HSLhsl(232, 45%, 46%)
HSVhsv(232, 62%, 67%)
CMYKcmyk(62.4%, 53.5%, 0%, 33.3%)
CIE-LABlab(37.08, 23.16, -50.79)
CIE-LCHlch(37.08, 55.82, 294.51°)
OKLaboklab(46.65% 0.0062 -0.1457)
OKLCHoklch(46.65% 0.146 272.4)
XYZxyz(12.1636, 9.5832, 39.2312)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FAA #AA9B40
analogous
#4084AA #404FAA #6640AA
triadic
#404FAA #AA404F #4FAA40
tetradic
#404FAA #AA4084 #AA9B40 #40AA66
square
#404FAA #AA4084 #AA9B40 #40AA66
split-complementary
#404FAA #AA6640 #84AA40
monochromatic
#1F2651 #2F3A7E #404FAA #6371C4 #8F99D5

Accessibility & contrast

On white

7.20
#404FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#404FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404FAA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FAA#FFFFFF#000000##FFFFFF
##404FAA1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155CAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #404faa;
/* rgb */ color: rgb(64, 79, 170);
/* oklch */ color: oklch(46.6% 0.146 272.4);
Tailwind
colors: {
  custom: {
    50: '#7f80c4',
    500: '#404faa',
    950: '#000000',
  },
}
SCSS
$custom: #404faa;
$custom-light: #7f80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#404faa",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 231.509,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46648,
    "c": 0.1458,
    "h": 272.4
  },
  "luminance": 0.09584
}

Semantic roles & 50–950 ramp

primary
#404FAA
secondary
#C0B886
accent
#C353D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #404FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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