#405697#405697

#405697 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.8% C 0.109 H 268.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#405697
RGBrgb(64, 86, 151)
HSLhsl(225, 40%, 42%)
HSVhsv(225, 58%, 59%)
CMYKcmyk(57.6%, 43%, 0%, 40.8%)
CIE-LABlab(37.80, 11.94, -38.26)
CIE-LCHlch(37.80, 40.08, 287.33°)
OKLaboklab(46.81% -0.0039 -0.1087)
OKLCHoklch(46.81% 0.109 268)
XYZxyz(11.0262, 9.9791, 30.6173)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405697 #978140
analogous
#408197 #405697 #564097
triadic
#405697 #974056 #569740
tetradic
#405697 #974081 #978140 #409756
square
#405697 #974081 #978140 #409756
split-complementary
#405697 #975640 #819740
monochromatic
#1C2541 #2E3E6C #405697 #5B73B9 #8697CC

Accessibility & contrast

On white

7.01
#405697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#405697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405697
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405697#FFFFFF#000000##FFFFFF
##4056971.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D9A
Deuteranopia (green-blind)
#2F5596
Tritanopia (blue-blind)
#06646F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #405697;
/* rgb */ color: rgb(64, 86, 151);
/* oklch */ color: oklch(46.8% 0.109 268.0);
Tailwind
colors: {
  custom: {
    50: '#7c85b6',
    500: '#405697',
    950: '#000000',
  },
}
SCSS
$custom: #405697;
$custom-light: #7c85b6;
$custom-dark: #000000;
JSON
{
  "hex": "#405697",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 224.828,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46805,
    "c": 0.10882,
    "h": 268
  },
  "luminance": 0.0998
}

Semantic roles & 50–950 ramp

primary
#405697
secondary
#B6A87D
accent
#B257D0
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #405697

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

Preview Lab → · Contrast checker → · Palette generator →

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