#404698#404698

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

Color values

HEX#404698
RGBrgb(64, 70, 152)
HSLhsl(236, 41%, 42%)
HSVhsv(236, 58%, 60%)
CMYKcmyk(57.9%, 53.9%, 0%, 40.4%)
CIE-LABlab(33.43, 22.76, -45.88)
CIE-LCHlch(33.43, 51.21, 296.38°)
OKLaboklab(43.5% 0.0144 -0.1313)
OKLCHoklch(43.5% 0.132 276.3)
XYZxyz(9.9702, 7.7366, 30.6676)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404698 #989240
analogous
#407298 #404698 #664098
triadic
#404698 #984046 #469840
tetradic
#404698 #984072 #989240 #409866
square
#404698 #984072 #989240 #409866
split-complementary
#404698 #986640 #729840
monochromatic
#1C1E42 #2E326D #404698 #5B62BA #868BCC

Accessibility & contrast

On white

8.24
#404698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#404698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404698
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404698#FFFFFF#000000##FFFFFF
##4046981.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529B
Deuteranopia (green-blind)
#004B96
Tritanopia (blue-blind)
#0C5968
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #404698;
/* rgb */ color: rgb(64, 70, 152);
/* oklch */ color: oklch(43.5% 0.132 276.3);
Tailwind
colors: {
  custom: {
    50: '#7d79b7',
    500: '#404698',
    950: '#000000',
  },
}
SCSS
$custom: #404698;
$custom-light: #7d79b7;
$custom-dark: #000000;
JSON
{
  "hex": "#404698",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 235.909,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43501,
    "c": 0.1321,
    "h": 276.3
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#404698
secondary
#B7B37D
accent
#C857D1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404698

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

Preview Lab → · Contrast checker → · Palette generator →

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