#404997#404997

#404997 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.126 H 275.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#404997
RGBrgb(64, 73, 151)
HSLhsl(234, 40%, 42%)
HSVhsv(234, 58%, 59%)
CMYKcmyk(57.6%, 51.7%, 0%, 40.8%)
CIE-LABlab(34.17, 20.44, -44.08)
CIE-LCHlch(34.17, 48.59, 294.88°)
OKLaboklab(44.04% 0.011 -0.126)
OKLCHoklch(44.04% 0.126 275)
XYZxyz(10.0810, 8.0887, 30.3022)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404997 #978E40
analogous
#407597 #404997 #634097
triadic
#404997 #974049 #499740
tetradic
#404997 #974075 #978E40 #409763
square
#404997 #974075 #978E40 #409763
split-complementary
#404997 #976340 #759740
monochromatic
#1C1F41 #2E346C #404997 #5B65B9 #868DCC

Accessibility & contrast

On white

8.02
#404997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#404997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404997
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404997#FFFFFF#000000##FFFFFF
##4049971.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#114D95
Tritanopia (blue-blind)
#0D5B69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #404997;
/* rgb */ color: rgb(64, 73, 151);
/* oklch */ color: oklch(44.0% 0.126 275.0);
Tailwind
colors: {
  custom: {
    50: '#7c7bb6',
    500: '#404997',
    950: '#000000',
  },
}
SCSS
$custom: #404997;
$custom-light: #7c7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#404997",
  "rgb": {
    "r": 64,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 233.793,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44035,
    "c": 0.12647,
    "h": 275
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#404997
secondary
#B6B07D
accent
#C457D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404997

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

Preview Lab → · Contrast checker → · Palette generator →

#404997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva