#404FA3#404FA3

#404FA3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.136 H 272.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#404FA3
RGBrgb(64, 79, 163)
HSLhsl(231, 44%, 45%)
HSVhsv(231, 61%, 64%)
CMYKcmyk(60.7%, 51.5%, 0%, 36.1%)
CIE-LABlab(36.60, 20.70, -47.39)
CIE-LCHlch(36.60, 51.71, 293.59°)
OKLaboklab(46.13% 0.0056 -0.1357)
OKLCHoklch(46.13% 0.136 272.4)
XYZxyz(11.5190, 9.3254, 35.8362)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404FA3 #A39440
analogous
#4081A3 #404FA3 #6340A3
triadic
#404FA3 #A3404F #4FA340
tetradic
#404FA3 #A34081 #A39440 #40A363
square
#404FA3 #A34081 #A39440 #40A363
split-complementary
#404FA3 #A36340 #81A340
monochromatic
#1D244B #2F3A77 #404FA3 #606EC0 #8C96D2

Accessibility & contrast

On white

7.33
#404FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#404FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404FA3
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404FA3#FFFFFF#000000##FFFFFF
##404FA31.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215BA6
Deuteranopia (green-blind)
#0952A1
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #404fa3;
/* rgb */ color: rgb(64, 79, 163);
/* oklch */ color: oklch(46.1% 0.136 272.4);
Tailwind
colors: {
  custom: {
    50: '#7e80bf',
    500: '#404fa3',
    950: '#000000',
  },
}
SCSS
$custom: #404fa3;
$custom-light: #7e80bf;
$custom-dark: #000000;
JSON
{
  "hex": "#404fa3",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 230.909,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46133,
    "c": 0.13578,
    "h": 272.4
  },
  "luminance": 0.09326
}

Semantic roles & 50–950 ramp

primary
#404FA3
secondary
#BDB482
accent
#C054D3
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #404FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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