#404BA3#404BA3

#404BA3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.141 H 274.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#404BA3
RGBrgb(64, 75, 163)
HSLhsl(233, 44%, 45%)
HSVhsv(233, 61%, 64%)
CMYKcmyk(60.7%, 54%, 0%, 36.1%)
CIE-LABlab(35.53, 23.31, -49.12)
CIE-LCHlch(35.53, 54.37, 295.38°)
OKLaboklab(45.32% 0.0098 -0.1408)
OKLCHoklch(45.32% 0.141 274)
XYZxyz(11.2391, 8.7656, 35.7429)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404BA3 #A39840
analogous
#407DA3 #404BA3 #6640A3
triadic
#404BA3 #A3404B #4BA340
tetradic
#404BA3 #A3407D #A39840 #40A366
square
#404BA3 #A3407D #A39840 #40A366
split-complementary
#404BA3 #A36640 #7DA340
monochromatic
#1D234B #2F3777 #404BA3 #606AC0 #8C93D2

Accessibility & contrast

On white

7.63
#404BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#404BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404BA3
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404BA3#FFFFFF#000000##FFFFFF
##404BA31.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1458A6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #404ba3;
/* rgb */ color: rgb(64, 75, 163);
/* oklch */ color: oklch(45.3% 0.141 274.0);
Tailwind
colors: {
  custom: {
    50: '#7e7dbf',
    500: '#404ba3',
    950: '#000000',
  },
}
SCSS
$custom: #404ba3;
$custom-light: #7e7dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#404ba3",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 163
  },
  "hsl": {
    "h": 233.333,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45323,
    "c": 0.14114,
    "h": 274
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#404BA3
secondary
#BDB682
accent
#C554D3
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #404BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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