#404682#404682

#404682 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 42.0% C 0.099 H 276.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#404682
RGBrgb(64, 70, 130)
HSLhsl(235, 34%, 38%)
HSVhsv(235, 51%, 51%)
CMYKcmyk(50.8%, 46.2%, 0%, 49%)
CIE-LABlab(31.99, 15.26, -34.69)
CIE-LCHlch(31.99, 37.90, 293.74°)
OKLaboklab(41.95% 0.012 -0.0984)
OKLCHoklch(41.95% 0.099 276.9)
XYZxyz(8.3325, 7.0815, 22.0426)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404682 #827C40
analogous
#406782 #404682 #5B4082
triadic
#404682 #824046 #468240
tetradic
#404682 #824067 #827C40 #40825B
square
#404682 #824067 #827C40 #40825B
split-complementary
#404682 #825B40 #678240
monochromatic
#181A30 #2C3059 #404682 #545CAB #7D83BF

Accessibility & contrast

On white

8.69
#404682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#404682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404682
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404682#FFFFFF#000000##FFFFFF
##4046821.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E84
Deuteranopia (green-blind)
#274981
Tritanopia (blue-blind)
#26535D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #404682;
/* rgb */ color: rgb(64, 70, 130);
/* oklch */ color: oklch(42.0% 0.099 276.9);
Tailwind
colors: {
  custom: {
    50: '#7979a7',
    500: '#404682',
    950: '#000000',
  },
}
SCSS
$custom: #404682;
$custom-light: #7979a7;
$custom-dark: #000000;
JSON
{
  "hex": "#404682",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 234.545,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41954,
    "c": 0.09916,
    "h": 276.9
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#404682
secondary
#AAA574
accent
#C05ECA
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #404682

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

Preview Lab → · Contrast checker → · Palette generator →

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