#404591#404591

#404591 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.123 H 277.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#404591
RGBrgb(64, 69, 145)
HSLhsl(236, 39%, 41%)
HSVhsv(236, 56%, 57%)
CMYKcmyk(55.9%, 52.4%, 0%, 43.1%)
CIE-LABlab(32.68, 21.01, -42.82)
CIE-LCHlch(32.68, 47.70, 296.13°)
OKLaboklab(42.78% 0.015 -0.1223)
OKLCHoklch(42.78% 0.123 277)
XYZxyz(9.3517, 7.3899, 27.7162)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404591 #918C40
analogous
#406D91 #404591 #634091
triadic
#404591 #914045 #459140
tetradic
#404591 #91406D #918C40 #409163
square
#404591 #91406D #918C40 #409163
split-complementary
#404591 #916340 #6D9140
monochromatic
#1B1D3C #2D3167 #404591 #595EB6 #8387C8

Accessibility & contrast

On white

8.47
#404591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#404591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404591
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404591#FFFFFF#000000##FFFFFF
##4045911.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5094
Deuteranopia (green-blind)
#114A8F
Tritanopia (blue-blind)
#185664
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #404591;
/* rgb */ color: rgb(64, 69, 145);
/* oklch */ color: oklch(42.8% 0.123 277.0);
Tailwind
colors: {
  custom: {
    50: '#7c78b2',
    500: '#404591',
    950: '#000000',
  },
}
SCSS
$custom: #404591;
$custom-light: #7c78b2;
$custom-dark: #000000;
JSON
{
  "hex": "#404591",
  "rgb": {
    "r": 64,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 236.296,
    "s": 38.756,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42784,
    "c": 0.12325,
    "h": 277
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#404591
secondary
#B3AF7A
accent
#C759CF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404591

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

Preview Lab → · Contrast checker → · Palette generator →

#404591 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva