#404571#404571

#404571 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.074 H 277.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#404571
RGBrgb(64, 69, 113)
HSLhsl(234, 28%, 35%)
HSVhsv(234, 43%, 44%)
CMYKcmyk(43.4%, 38.9%, 0%, 55.7%)
CIE-LABlab(30.73, 10.35, -26.06)
CIE-LCHlch(30.73, 28.04, 291.66°)
OKLaboklab(40.67% 0.0098 -0.0732)
OKLCHoklch(40.67% 0.074 277.6)
XYZxyz(7.2222, 6.5382, 16.5010)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404571 #716C40
analogous
#405E71 #404571 #544071
triadic
#404571 #714045 #457140
tetradic
#404571 #71405E #716C40 #407154
square
#404571 #71405E #716C40 #407154
split-complementary
#404571 #715440 #5E7140
monochromatic
#141523 #2A2D4A #404571 #565D98 #797EB3

Accessibility & contrast

On white

9.10
#404571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#404571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404571
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404571#FFFFFF#000000##FFFFFF
##4045711.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#324770
Tritanopia (blue-blind)
#314E55
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #404571;
/* rgb */ color: rgb(64, 69, 113);
/* oklch */ color: oklch(40.7% 0.074 277.6);
Tailwind
colors: {
  custom: {
    50: '#77789a',
    500: '#404571',
    950: '#000000',
  },
}
SCSS
$custom: #404571;
$custom-light: #77789a;
$custom-dark: #000000;
JSON
{
  "hex": "#404571",
  "rgb": {
    "r": 64,
    "g": 69,
    "b": 113
  },
  "hsl": {
    "h": 233.878,
    "s": 27.684,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40673,
    "c": 0.07389,
    "h": 277.6
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#404571
secondary
#9E996F
accent
#BA64C4
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09090E
muted
#7B7B7E

Preview Lab

Preview with #404571

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

Preview Lab → · Contrast checker → · Palette generator →

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