#404697#404697

#404697 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.131 H 276.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#404697
RGBrgb(64, 70, 151)
HSLhsl(236, 40%, 42%)
HSVhsv(236, 58%, 59%)
CMYKcmyk(57.6%, 53.6%, 0%, 40.8%)
CIE-LABlab(33.36, 22.41, -45.38)
CIE-LCHlch(33.36, 50.62, 296.28°)
OKLaboklab(43.43% 0.0144 -0.1298)
OKLCHoklch(43.43% 0.131 276.3)
XYZxyz(9.8886, 7.7040, 30.2381)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404697 #979140
analogous
#407297 #404697 #664097
triadic
#404697 #974046 #469740
tetradic
#404697 #974072 #979140 #409766
square
#404697 #974072 #979140 #409766
split-complementary
#404697 #976640 #729740
monochromatic
#1C1E41 #2E326C #404697 #5B61B9 #868BCC

Accessibility & contrast

On white

8.26
#404697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#404697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404697
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404697#FFFFFF#000000##FFFFFF
##4046971.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#034B95
Tritanopia (blue-blind)
#0E5867
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #404697;
/* rgb */ color: rgb(64, 70, 151);
/* oklch */ color: oklch(43.4% 0.131 276.3);
Tailwind
colors: {
  custom: {
    50: '#7d79b6',
    500: '#404697',
    950: '#000000',
  },
}
SCSS
$custom: #404697;
$custom-light: #7d79b6;
$custom-dark: #000000;
JSON
{
  "hex": "#404697",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 235.862,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43427,
    "c": 0.13064,
    "h": 276.3
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#404697
secondary
#B6B27D
accent
#C857D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404697

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

Preview Lab → · Contrast checker → · Palette generator →

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