#404A97#404A97

#404A97 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.125 H 274.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#404A97
RGBrgb(64, 74, 151)
HSLhsl(233, 40%, 42%)
HSVhsv(233, 58%, 59%)
CMYKcmyk(57.6%, 51%, 0%, 40.8%)
CIE-LABlab(34.44, 19.78, -43.64)
CIE-LCHlch(34.44, 47.92, 294.38°)
OKLaboklab(44.24% 0.0099 -0.1247)
OKLCHoklch(44.24% 0.125 274.5)
XYZxyz(10.1472, 8.2212, 30.3243)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A97 #978D40
analogous
#407697 #404A97 #614097
triadic
#404A97 #97404A #4A9740
tetradic
#404A97 #974076 #978D40 #409761
square
#404A97 #974076 #978D40 #409761
split-complementary
#404A97 #976140 #769740
monochromatic
#1C2041 #2E356C #404A97 #5B66B9 #868ECC

Accessibility & contrast

On white

7.94
#404A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#404A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404A97
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A97#FFFFFF#000000##FFFFFF
##404A971.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#144D95
Tritanopia (blue-blind)
#0C5B69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #404a97;
/* rgb */ color: rgb(64, 74, 151);
/* oklch */ color: oklch(44.2% 0.125 274.5);
Tailwind
colors: {
  custom: {
    50: '#7c7cb6',
    500: '#404a97',
    950: '#000000',
  },
}
SCSS
$custom: #404a97;
$custom-light: #7c7cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#404a97",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 233.103,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4424,
    "c": 0.12509,
    "h": 274.5
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#404A97
secondary
#B6B07D
accent
#C257D0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404A97

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

Preview Lab → · Contrast checker → · Palette generator →

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