#405682#405682

#405682 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.5% C 0.077 H 263.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#405682
RGBrgb(64, 86, 130)
HSLhsl(220, 34%, 38%)
HSVhsv(220, 51%, 51%)
CMYKcmyk(50.8%, 33.8%, 0%, 49%)
CIE-LABlab(36.66, 4.81, -27.31)
CIE-LCHlch(36.66, 27.73, 279.98°)
OKLaboklab(45.55% -0.0089 -0.0768)
OKLCHoklch(45.55% 0.077 263.4)
XYZxyz(9.4701, 9.3566, 22.4218)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405682 #826C40
analogous
#407782 #405682 #4B4082
triadic
#405682 #824056 #568240
tetradic
#405682 #824077 #826C40 #40824B
square
#405682 #824077 #826C40 #40824B
split-complementary
#405682 #824B40 #778240
monochromatic
#182030 #2C3B59 #405682 #5471AB #7D93BF

Accessibility & contrast

On white

7.31
#405682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#405682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405682
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405682#FFFFFF#000000##FFFFFF
##4056821.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455A84
Deuteranopia (green-blind)
#3E5381
Tritanopia (blue-blind)
#245F66
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405682;
/* rgb */ color: rgb(64, 86, 130);
/* oklch */ color: oklch(45.5% 0.077 263.4);
Tailwind
colors: {
  custom: {
    50: '#7985a6',
    500: '#405682',
    950: '#000000',
  },
}
SCSS
$custom: #405682;
$custom-light: #7985a6;
$custom-dark: #000000;
JSON
{
  "hex": "#405682",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 130
  },
  "hsl": {
    "h": 220,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45549,
    "c": 0.07731,
    "h": 263.4
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#405682
secondary
#AA9874
accent
#A65ECA
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B0F
muted
#7B7C7F

Preview Lab

Preview with #405682

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

Preview Lab → · Contrast checker → · Palette generator →

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