#405779#405779

#405779 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.3% C 0.063 H 258.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#405779
RGBrgb(64, 87, 121)
HSLhsl(216, 31%, 36%)
HSVhsv(216, 47%, 47%)
CMYKcmyk(47.1%, 28.1%, 0%, 52.5%)
CIE-LABlab(36.53, 1.24, -21.98)
CIE-LCHlch(36.53, 22.02, 273.24°)
OKLaboklab(45.3% -0.013 -0.0614)
OKLCHoklch(45.3% 0.063 258)
XYZxyz(8.9726, 9.2863, 19.4051)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405779 #796240
analogous
#407479 #405779 #464079
triadic
#405779 #794057 #577940
tetradic
#405779 #794074 #796240 #407946
square
#405779 #794074 #796240 #407946
split-complementary
#405779 #794640 #747940
monochromatic
#161D29 #2B3A51 #405779 #5574A1 #7A94B9

Accessibility & contrast

On white

7.35
#405779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#405779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405779
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405779#FFFFFF#000000##FFFFFF
##4057791.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597B
Deuteranopia (green-blind)
#445378
Tritanopia (blue-blind)
#2A5E63
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405779;
/* rgb */ color: rgb(64, 87, 121);
/* oklch */ color: oklch(45.3% 0.063 258.0);
Tailwind
colors: {
  custom: {
    50: '#7886a0',
    500: '#405779',
    950: '#000000',
  },
}
SCSS
$custom: #405779;
$custom-light: #7886a0;
$custom-dark: #000000;
JSON
{
  "hex": "#405779",
  "rgb": {
    "r": 64,
    "g": 87,
    "b": 121
  },
  "hsl": {
    "h": 215.789,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45302,
    "c": 0.06276,
    "h": 258
  },
  "luminance": 0.09287
}

Semantic roles & 50–950 ramp

primary
#405779
secondary
#A48F71
accent
#9E61C7
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#090B0E
muted
#7B7C7E

Preview Lab

Preview with #405779

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

Preview Lab → · Contrast checker → · Palette generator →

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