#404C99#404C99

#404C99 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.125 H 273.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#404C99
RGBrgb(64, 76, 153)
HSLhsl(232, 41%, 43%)
HSVhsv(232, 58%, 60%)
CMYKcmyk(58.2%, 50.3%, 0%, 40%)
CIE-LABlab(35.12, 19.17, -43.76)
CIE-LCHlch(35.12, 47.78, 293.65°)
OKLaboklab(44.8% 0.0079 -0.125)
OKLCHoklch(44.8% 0.125 273.6)
XYZxyz(10.4467, 8.5580, 31.2322)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404C99 #998D40
analogous
#407999 #404C99 #604099
triadic
#404C99 #99404C #4C9940
tetradic
#404C99 #994079 #998D40 #409960
square
#404C99 #994079 #998D40 #409960
split-complementary
#404C99 #996040 #799940
monochromatic
#1C2143 #2E376E #404C99 #5C68BB #8790CD

Accessibility & contrast

On white

7.74
#404C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404C99
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404C99#FFFFFF#000000##FFFFFF
##404C991.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#174F97
Tritanopia (blue-blind)
#065D6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #404c99;
/* rgb */ color: rgb(64, 76, 153);
/* oklch */ color: oklch(44.8% 0.125 273.6);
Tailwind
colors: {
  custom: {
    50: '#7d7db7',
    500: '#404c99',
    950: '#000000',
  },
}
SCSS
$custom: #404c99;
$custom-light: #7d7db7;
$custom-dark: #000000;
JSON
{
  "hex": "#404c99",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 231.91,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44797,
    "c": 0.12527,
    "h": 273.6
  },
  "luminance": 0.08559
}

Semantic roles & 50–950 ramp

primary
#404C99
secondary
#B7AF7E
accent
#C057D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404C99

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

Preview Lab → · Contrast checker → · Palette generator →

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