#404E79#404E79

#404E79 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.074 H 269.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#404E79
RGBrgb(64, 78, 121)
HSLhsl(225, 31%, 36%)
HSVhsv(225, 47%, 47%)
CMYKcmyk(47.1%, 35.5%, 0%, 52.5%)
CIE-LABlab(33.81, 7.02, -26.22)
CIE-LCHlch(33.81, 27.15, 284.98°)
OKLaboklab(43.19% -0.0007 -0.0737)
OKLCHoklch(43.19% 0.074 269.4)
XYZxyz(8.2888, 7.9188, 19.1772)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404E79 #796B40
analogous
#406B79 #404E79 #4F4079
triadic
#404E79 #79404E #4E7940
tetradic
#404E79 #79406B #796B40 #40794F
square
#404E79 #79406B #796B40 #40794F
split-complementary
#404E79 #794F40 #6B7940
monochromatic
#161A29 #2B3451 #404E79 #5568A1 #7A8AB9

Accessibility & contrast

On white

8.13
#404E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#404E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404E79
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404E79#FFFFFF#000000##FFFFFF
##404E791.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527B
Deuteranopia (green-blind)
#394D78
Tritanopia (blue-blind)
#2B575E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #404e79;
/* rgb */ color: rgb(64, 78, 121);
/* oklch */ color: oklch(43.2% 0.074 269.4);
Tailwind
colors: {
  custom: {
    50: '#787fa0',
    500: '#404e79',
    950: '#000000',
  },
}
SCSS
$custom: #404e79;
$custom-light: #787fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#404e79",
  "rgb": {
    "r": 64,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 225.263,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43188,
    "c": 0.07368,
    "h": 269.4
  },
  "luminance": 0.07919
}

Semantic roles & 50–950 ramp

primary
#404E79
secondary
#A49771
accent
#AE61C7
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0E
muted
#7B7C7E

Preview Lab

Preview with #404E79

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

Preview Lab → · Contrast checker → · Palette generator →

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