#404D91#404D91

#404D91 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.5% C 0.112 H 272.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#404D91
RGBrgb(64, 77, 145)
HSLhsl(230, 39%, 41%)
HSVhsv(230, 56%, 57%)
CMYKcmyk(55.9%, 46.9%, 0%, 43.1%)
CIE-LABlab(34.89, 15.74, -39.28)
CIE-LCHlch(34.89, 42.32, 291.83°)
OKLaboklab(44.46% 0.0057 -0.1118)
OKLCHoklch(44.46% 0.112 272.9)
XYZxyz(9.8774, 8.4414, 27.8914)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404D91 #918440
analogous
#407591 #404D91 #5B4091
triadic
#404D91 #91404D #4D9140
tetradic
#404D91 #914075 #918440 #40915B
square
#404D91 #914075 #918440 #40915B
split-complementary
#404D91 #915B40 #759140
monochromatic
#1B203C #2D3667 #404D91 #5968B6 #838EC8

Accessibility & contrast

On white

7.81
#404D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#404D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404D91
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404D91#FFFFFF#000000##FFFFFF
##404D911.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5694
Deuteranopia (green-blind)
#254F90
Tritanopia (blue-blind)
#165C68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #404d91;
/* rgb */ color: rgb(64, 77, 145);
/* oklch */ color: oklch(44.5% 0.112 272.9);
Tailwind
colors: {
  custom: {
    50: '#7b7eb2',
    500: '#404d91',
    950: '#000000',
  },
}
SCSS
$custom: #404d91;
$custom-light: #7b7eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#404d91",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 145
  },
  "hsl": {
    "h": 230.37,
    "s": 38.756,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44455,
    "c": 0.11199,
    "h": 272.9
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#404D91
secondary
#B3AA7A
accent
#BC59CF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #404D91

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

Preview Lab → · Contrast checker → · Palette generator →

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