#404D99#404D99

#404D99 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.124 H 273.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#404D99
RGBrgb(64, 77, 153)
HSLhsl(231, 41%, 43%)
HSVhsv(231, 58%, 60%)
CMYKcmyk(58.2%, 49.7%, 0%, 40%)
CIE-LABlab(35.39, 18.51, -43.32)
CIE-LCHlch(35.39, 47.11, 293.13°)
OKLaboklab(45.01% 0.0068 -0.1237)
OKLCHoklch(45.01% 0.124 273.1)
XYZxyz(10.5161, 8.6969, 31.2553)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404D99 #998C40
analogous
#407999 #404D99 #5F4099
triadic
#404D99 #99404D #4D9940
tetradic
#404D99 #994079 #998C40 #40995F
square
#404D99 #994079 #998C40 #40995F
split-complementary
#404D99 #995F40 #799940
monochromatic
#1C2243 #2E376E #404D99 #5C69BB #8791CD

Accessibility & contrast

On white

7.67
#404D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#404D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404D99
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404D99#FFFFFF#000000##FFFFFF
##404D991.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579C
Deuteranopia (green-blind)
#1A5097
Tritanopia (blue-blind)
#065E6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #404d99;
/* rgb */ color: rgb(64, 77, 153);
/* oklch */ color: oklch(45.0% 0.124 273.1);
Tailwind
colors: {
  custom: {
    50: '#7d7eb7',
    500: '#404d99',
    950: '#000000',
  },
}
SCSS
$custom: #404d99;
$custom-light: #7d7eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#404d99",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 231.236,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45005,
    "c": 0.12389,
    "h": 273.1
  },
  "luminance": 0.08698
}

Semantic roles & 50–950 ramp

primary
#404D99
secondary
#B7AF7E
accent
#BF57D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #404D99

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

Preview Lab → · Contrast checker → · Palette generator →

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