#404D72#404D72

#404D72 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.064 H 268.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#404D72
RGBrgb(64, 77, 114)
HSLhsl(224, 28%, 35%)
HSVhsv(224, 44%, 45%)
CMYKcmyk(43.9%, 32.5%, 0%, 55.3%)
CIE-LABlab(33.16, 5.42, -22.88)
CIE-LCHlch(33.16, 23.51, 283.33°)
OKLaboklab(42.57% -0.0013 -0.064)
OKLCHoklch(42.57% 0.064 268.8)
XYZxyz(7.8046, 7.6122, 16.9744)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404D72 #726540
analogous
#406672 #404D72 #4C4072
triadic
#404D72 #72404D #4D7240
tetradic
#404D72 #724066 #726540 #40724C
square
#404D72 #724066 #726540 #40724C
split-complementary
#404D72 #724C40 #667240
monochromatic
#141824 #2A334B #404D72 #566799 #7988B4

Accessibility & contrast

On white

8.32
#404D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#404D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404D72
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404D72#FFFFFF#000000##FFFFFF
##404D721.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405074
Deuteranopia (green-blind)
#3B4C71
Tritanopia (blue-blind)
#2F555A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #404d72;
/* rgb */ color: rgb(64, 77, 114);
/* oklch */ color: oklch(42.6% 0.064 268.8);
Tailwind
colors: {
  custom: {
    50: '#777e9a',
    500: '#404d72',
    950: '#000000',
  },
}
SCSS
$custom: #404d72;
$custom-light: #777e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#404d72",
  "rgb": {
    "r": 64,
    "g": 77,
    "b": 114
  },
  "hsl": {
    "h": 224.4,
    "s": 28.09,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42567,
    "c": 0.06401,
    "h": 268.8
  },
  "luminance": 0.07613
}

Semantic roles & 50–950 ramp

primary
#404D72
secondary
#9F926F
accent
#AB63C4
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0E
muted
#7B7C7E

Preview Lab

Preview with #404D72

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

Preview Lab → · Contrast checker → · Palette generator →

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