#404699#404699

#404699 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.134 H 276.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#404699
RGBrgb(64, 70, 153)
HSLhsl(236, 41%, 43%)
HSVhsv(236, 58%, 60%)
CMYKcmyk(58.2%, 54.2%, 0%, 40%)
CIE-LABlab(33.50, 23.10, -46.37)
CIE-LCHlch(33.50, 51.81, 296.48°)
OKLaboklab(43.58% 0.0145 -0.1328)
OKLCHoklch(43.58% 0.134 276.2)
XYZxyz(10.0524, 7.7695, 31.1008)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404699 #999340
analogous
#407399 #404699 #664099
triadic
#404699 #994046 #469940
tetradic
#404699 #994073 #999340 #409966
square
#404699 #994073 #999340 #409966
split-complementary
#404699 #996640 #739940
monochromatic
#1C1F43 #2E326E #404699 #5C62BB #878BCD

Accessibility & contrast

On white

8.22
#404699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404699
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404699#FFFFFF#000000##FFFFFF
##4046991.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14539C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#095968
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #404699;
/* rgb */ color: rgb(64, 70, 153);
/* oklch */ color: oklch(43.6% 0.134 276.2);
Tailwind
colors: {
  custom: {
    50: '#7d79b8',
    500: '#404699',
    950: '#000000',
  },
}
SCSS
$custom: #404699;
$custom-light: #7d79b8;
$custom-dark: #000000;
JSON
{
  "hex": "#404699",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 153
  },
  "hsl": {
    "h": 235.955,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43576,
    "c": 0.13355,
    "h": 276.2
  },
  "luminance": 0.0777
}

Semantic roles & 50–950 ramp

primary
#404699
secondary
#B7B37E
accent
#C957D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #404699

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

Preview Lab → · Contrast checker → · Palette generator →

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