#404686#404686

#404686 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.2% C 0.105 H 276.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#404686
RGBrgb(64, 70, 134)
HSLhsl(235, 35%, 39%)
HSVhsv(235, 52%, 53%)
CMYKcmyk(52.2%, 47.8%, 0%, 47.5%)
CIE-LABlab(32.24, 16.60, -36.77)
CIE-LCHlch(32.24, 40.35, 294.30°)
OKLaboklab(42.22% 0.0126 -0.1045)
OKLCHoklch(42.22% 0.105 276.9)
XYZxyz(8.6062, 7.1910, 23.4841)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404686 #868040
analogous
#406986 #404686 #5D4086
triadic
#404686 #864046 #468640
tetradic
#404686 #864069 #868040 #40865D
square
#404686 #864069 #868040 #40865D
split-complementary
#404686 #865D40 #698640
monochromatic
#181B33 #2C305D #404686 #555DAE #7F84C2

Accessibility & contrast

On white

8.61
#404686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#404686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404686
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404686#FFFFFF#000000##FFFFFF
##4046861.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F88
Deuteranopia (green-blind)
#234985
Tritanopia (blue-blind)
#23545F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #404686;
/* rgb */ color: rgb(64, 70, 134);
/* oklch */ color: oklch(42.2% 0.105 276.9);
Tailwind
colors: {
  custom: {
    50: '#7a79aa',
    500: '#404686',
    950: '#000000',
  },
}
SCSS
$custom: #404686;
$custom-light: #7a79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#404686",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 234.857,
    "s": 35.354,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42221,
    "c": 0.10529,
    "h": 276.9
  },
  "luminance": 0.07192
}

Semantic roles & 50–950 ramp

primary
#404686
secondary
#ACA776
accent
#C25CCB
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #404686

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

Preview Lab → · Contrast checker → · Palette generator →

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