#404497#404497

#404497 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.133 H 277.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#404497
RGBrgb(64, 68, 151)
HSLhsl(237, 40%, 42%)
HSVhsv(237, 58%, 59%)
CMYKcmyk(57.6%, 55%, 0%, 40.8%)
CIE-LABlab(32.83, 23.72, -46.24)
CIE-LCHlch(32.83, 51.97, 297.16°)
OKLaboklab(43.03% 0.0166 -0.1324)
OKLCHoklch(43.03% 0.133 277.1)
XYZxyz(9.7656, 7.4579, 30.1971)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404497 #979340
analogous
#407097 #404497 #674097
triadic
#404497 #974044 #449740
tetradic
#404497 #974070 #979340 #409767
square
#404497 #974070 #979340 #409767
split-complementary
#404497 #976740 #709740
monochromatic
#1C1D41 #2E316C #404497 #5B5FB9 #8689CC

Accessibility & contrast

On white

8.43
#404497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#404497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##404497#FFFFFF#000000##FFFFFF
##4044971.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)
#10519A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#0F5767
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #404497;
/* rgb */ color: rgb(64, 68, 151);
/* oklch */ color: oklch(43.0% 0.133 277.1);
Tailwind
colors: {
  custom: {
    50: '#7d77b6',
    500: '#404497',
    950: '#000000',
  },
}
SCSS
$custom: #404497;
$custom-light: #7d77b6;
$custom-dark: #000000;
JSON
{
  "hex": "#404497",
  "rgb": {
    "r": 64,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 237.241,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43029,
    "c": 0.13342,
    "h": 277.1
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

primary
#404497
secondary
#B6B47D
accent
#CB57D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #404497

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

Preview Lab → · Contrast checker → · Palette generator →

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