#404B76#404B76

#404B76 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.3% C 0.073 H 272.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#404B76
RGBrgb(64, 75, 118)
HSLhsl(228, 30%, 36%)
HSVhsv(228, 46%, 46%)
CMYKcmyk(45.8%, 36.4%, 0%, 53.7%)
CIE-LABlab(32.77, 8.00, -26.00)
CIE-LCHlch(32.77, 27.20, 287.11°)
OKLaboklab(42.33% 0.0026 -0.073)
OKLCHoklch(42.33% 0.073 272.1)
XYZxyz(7.8994, 7.4297, 18.1539)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B76 #766B40
analogous
#406676 #404B76 #504076
triadic
#404B76 #76404B #4B7640
tetradic
#404B76 #764066 #766B40 #407650
square
#404B76 #764066 #766B40 #407650
split-complementary
#404B76 #765040 #667640
monochromatic
#151927 #2A324E #404B76 #56649E #7A86B7

Accessibility & contrast

On white

8.45
#404B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404B76
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404B76#FFFFFF#000000##FFFFFF
##404B761.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4F78
Deuteranopia (green-blind)
#374B75
Tritanopia (blue-blind)
#2D545B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #404b76;
/* rgb */ color: rgb(64, 75, 118);
/* oklch */ color: oklch(42.3% 0.073 272.1);
Tailwind
colors: {
  custom: {
    50: '#787d9d',
    500: '#404b76',
    950: '#000000',
  },
}
SCSS
$custom: #404b76;
$custom-light: #787d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#404b76",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 118
  },
  "hsl": {
    "h": 227.778,
    "s": 29.67,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42327,
    "c": 0.07309,
    "h": 272.1
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #404B76

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

Preview Lab → · Contrast checker → · Palette generator →

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