#405678#405678

#405678 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.0% C 0.062 H 258.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#405678
RGBrgb(64, 86, 120)
HSLhsl(216, 30%, 36%)
HSVhsv(216, 47%, 47%)
CMYKcmyk(46.7%, 28.3%, 0%, 52.9%)
CIE-LABlab(36.18, 1.56, -21.91)
CIE-LCHlch(36.18, 21.97, 274.06°)
OKLaboklab(45.01% -0.012 -0.0612)
OKLCHoklch(45.01% 0.062 258.9)
XYZxyz(8.8312, 9.1011, 19.0570)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405678 #786240
analogous
#407278 #405678 #464078
triadic
#405678 #784056 #567840
tetradic
#405678 #784072 #786240 #407846
square
#405678 #784072 #786240 #407846
split-complementary
#405678 #784640 #727840
monochromatic
#151D28 #2B3950 #405678 #5573A0 #7A93B8

Accessibility & contrast

On white

7.45
#405678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#405678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405678
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405678#FFFFFF#000000##FFFFFF
##4056781.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587A
Deuteranopia (green-blind)
#435377
Tritanopia (blue-blind)
#2A5D62
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405678;
/* rgb */ color: rgb(64, 86, 120);
/* oklch */ color: oklch(45.0% 0.062 258.9);
Tailwind
colors: {
  custom: {
    50: '#78859f',
    500: '#405678',
    950: '#000000',
  },
}
SCSS
$custom: #405678;
$custom-light: #78859f;
$custom-dark: #000000;
JSON
{
  "hex": "#405678",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 120
  },
  "hsl": {
    "h": 216.429,
    "s": 30.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45012,
    "c": 0.06236,
    "h": 258.9
  },
  "luminance": 0.09102
}

Semantic roles & 50–950 ramp

primary
#405678
secondary
#A38F71
accent
#9F61C7
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#090B0E
muted
#7B7C7E

Preview Lab

Preview with #405678

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

Preview Lab → · Contrast checker → · Palette generator →

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