#405679#405679

#405679 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.1% C 0.064 H 259.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#405679
RGBrgb(64, 86, 121)
HSLhsl(217, 31%, 36%)
HSVhsv(217, 47%, 47%)
CMYKcmyk(47.1%, 28.9%, 0%, 52.5%)
CIE-LABlab(36.22, 1.88, -22.46)
CIE-LCHlch(36.22, 22.53, 274.78°)
OKLaboklab(45.06% -0.0117 -0.0628)
OKLCHoklch(45.06% 0.064 259.5)
XYZxyz(8.8922, 9.1255, 19.3783)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405679 #796340
analogous
#407379 #405679 #474079
triadic
#405679 #794056 #567940
tetradic
#405679 #794073 #796340 #407947
square
#405679 #794073 #796340 #407947
split-complementary
#405679 #794740 #737940
monochromatic
#161D29 #2B3A51 #405679 #5572A1 #7A93B9

Accessibility & contrast

On white

7.43
#405679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#405679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405679
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405679#FFFFFF#000000##FFFFFF
##4056791.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587B
Deuteranopia (green-blind)
#435378
Tritanopia (blue-blind)
#2A5E62
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405679;
/* rgb */ color: rgb(64, 86, 121);
/* oklch */ color: oklch(45.1% 0.064 259.5);
Tailwind
colors: {
  custom: {
    50: '#7885a0',
    500: '#405679',
    950: '#000000',
  },
}
SCSS
$custom: #405679;
$custom-light: #7885a0;
$custom-dark: #000000;
JSON
{
  "hex": "#405679",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 121
  },
  "hsl": {
    "h": 216.842,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45064,
    "c": 0.06384,
    "h": 259.5
  },
  "luminance": 0.09126
}

Semantic roles & 50–950 ramp

primary
#405679
secondary
#A49071
accent
#A061C7
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#090B0E
muted
#7B7C7E

Preview Lab

Preview with #405679

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

Preview Lab → · Contrast checker → · Palette generator →

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