#405597#405597

#405597 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.6% C 0.110 H 268.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#405597
RGBrgb(64, 85, 151)
HSLhsl(226, 40%, 42%)
HSVhsv(226, 58%, 59%)
CMYKcmyk(57.6%, 43.7%, 0%, 40.8%)
CIE-LABlab(37.52, 12.59, -38.72)
CIE-LCHlch(37.52, 40.71, 288.01°)
OKLaboklab(46.59% -0.0027 -0.1101)
OKLCHoklch(46.59% 0.11 268.6)
XYZxyz(10.9469, 9.8205, 30.5908)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405597 #978240
analogous
#408197 #405597 #564097
triadic
#405597 #974055 #559740
tetradic
#405597 #974081 #978240 #409756
square
#405597 #974081 #978240 #409756
split-complementary
#405597 #975640 #819740
monochromatic
#1C2541 #2E3D6C #405597 #5B72B9 #8697CC

Accessibility & contrast

On white

7.08
#405597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#405597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405597
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405597#FFFFFF#000000##FFFFFF
##4055971.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#2D5596
Tritanopia (blue-blind)
#07646E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #405597;
/* rgb */ color: rgb(64, 85, 151);
/* oklch */ color: oklch(46.6% 0.110 268.6);
Tailwind
colors: {
  custom: {
    50: '#7c84b6',
    500: '#405597',
    950: '#000000',
  },
}
SCSS
$custom: #405597;
$custom-light: #7c84b6;
$custom-dark: #000000;
JSON
{
  "hex": "#405597",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 151
  },
  "hsl": {
    "h": 225.517,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46585,
    "c": 0.11013,
    "h": 268.6
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#405597
secondary
#B6A87D
accent
#B357D0
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #405597

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

Preview Lab → · Contrast checker → · Palette generator →

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