#404B77#404B77

#404B77 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.075 H 272.2°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#404B77
RGBrgb(64, 75, 119)
HSLhsl(228, 30%, 36%)
HSVhsv(228, 46%, 47%)
CMYKcmyk(46.2%, 37%, 0%, 53.3%)
CIE-LABlab(32.82, 8.33, -26.54)
CIE-LCHlch(32.82, 27.82, 287.42°)
OKLaboklab(42.39% 0.0029 -0.0746)
OKLCHoklch(42.39% 0.075 272.2)
XYZxyz(7.9592, 7.4536, 18.4685)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B77 #776C40
analogous
#406677 #404B77 #504077
triadic
#404B77 #77404B #4B7740
tetradic
#404B77 #774066 #776C40 #407750
square
#404B77 #774066 #776C40 #407750
split-complementary
#404B77 #775040 #667740
monochromatic
#151927 #2B324F #404B77 #55649F #7A86B7

Accessibility & contrast

On white

8.43
#404B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#404B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404B77
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404B77#FFFFFF#000000##FFFFFF
##404B771.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5079
Deuteranopia (green-blind)
#364B76
Tritanopia (blue-blind)
#2D545B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #404b77;
/* rgb */ color: rgb(64, 75, 119);
/* oklch */ color: oklch(42.4% 0.075 272.2);
Tailwind
colors: {
  custom: {
    50: '#787d9e',
    500: '#404b77',
    950: '#000000',
  },
}
SCSS
$custom: #404b77;
$custom-light: #787d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#404b77",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 119
  },
  "hsl": {
    "h": 228,
    "s": 30.055,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42385,
    "c": 0.07467,
    "h": 272.2
  },
  "luminance": 0.07454
}

Semantic roles & 50–950 ramp

primary
#404B77
secondary
#A29871
accent
#B262C6
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#09090E
muted
#7B7B7E

Preview Lab

Preview with #404B77

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

Preview Lab → · Contrast checker → · Palette generator →

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