#404E99#404E99

#404E99 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.123 H 272.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#404E99
RGBrgb(64, 78, 153)
HSLhsl(231, 41%, 43%)
HSVhsv(231, 58%, 60%)
CMYKcmyk(58.2%, 49%, 0%, 40%)
CIE-LABlab(35.67, 17.85, -42.88)
CIE-LCHlch(35.67, 46.45, 292.61°)
OKLaboklab(45.22% 0.0056 -0.1224)
OKLCHoklch(45.22% 0.123 272.6)
XYZxyz(10.5866, 8.8379, 31.2788)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404E99 #998B40
analogous
#407A99 #404E99 #5F4099
triadic
#404E99 #99404E #4E9940
tetradic
#404E99 #99407A #998B40 #40995F
square
#404E99 #99407A #998B40 #40995F
split-complementary
#404E99 #995F40 #7A9940
monochromatic
#1C2243 #2E386E #404E99 #5C6BBB #8792CD

Accessibility & contrast

On white

7.59
#404E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#404E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404E99
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404E99#FFFFFF#000000##FFFFFF
##404E991.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589C
Deuteranopia (green-blind)
#1C5097
Tritanopia (blue-blind)
#055F6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #404e99;
/* rgb */ color: rgb(64, 78, 153);
/* oklch */ color: oklch(45.2% 0.123 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c7fb7',
    500: '#404e99',
    950: '#000000',
  },
}
SCSS
$custom: #404e99;
$custom-light: #7c7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#404e99",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 230.562,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45215,
    "c": 0.12253,
    "h": 272.6
  },
  "luminance": 0.08839
}

Semantic roles & 50–950 ramp

primary
#404E99
secondary
#B7AE7E
accent
#BE57D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #404E99

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

Preview Lab → · Contrast checker → · Palette generator →

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