#404F79#404F79

#404F79 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.4% C 0.072 H 268.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#404F79
RGBrgb(64, 79, 121)
HSLhsl(224, 31%, 36%)
HSVhsv(224, 47%, 47%)
CMYKcmyk(47.1%, 34.7%, 0%, 52.5%)
CIE-LABlab(34.11, 6.37, -25.76)
CIE-LCHlch(34.11, 26.53, 283.88°)
OKLaboklab(43.42% -0.0021 -0.0723)
OKLCHoklch(43.42% 0.072 268.3)
XYZxyz(8.3604, 8.0620, 19.2010)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F79 #796A40
analogous
#406C79 #404F79 #4E4079
triadic
#404F79 #79404F #4F7940
tetradic
#404F79 #79406C #796A40 #40794E
square
#404F79 #79406C #796A40 #40794E
split-complementary
#404F79 #794E40 #6C7940
monochromatic
#161B29 #2B3551 #404F79 #5569A1 #7A8BB9

Accessibility & contrast

On white

8.04
#404F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#404F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404F79
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404F79#FFFFFF#000000##FFFFFF
##404F791.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537B
Deuteranopia (green-blind)
#3A4E78
Tritanopia (blue-blind)
#2B585E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #404f79;
/* rgb */ color: rgb(64, 79, 121);
/* oklch */ color: oklch(43.4% 0.072 268.3);
Tailwind
colors: {
  custom: {
    50: '#7880a0',
    500: '#404f79',
    950: '#000000',
  },
}
SCSS
$custom: #404f79;
$custom-light: #7880a0;
$custom-dark: #000000;
JSON
{
  "hex": "#404f79",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 121
  },
  "hsl": {
    "h": 224.211,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43419,
    "c": 0.07235,
    "h": 268.3
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#404F79
secondary
#A49671
accent
#AC61C7
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0E
muted
#7B7C7E

Preview Lab

Preview with #404F79

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

Preview Lab → · Contrast checker → · Palette generator →

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