#405692#405692

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

Color values

HEX#405692
RGBrgb(64, 86, 146)
HSLhsl(224, 39%, 41%)
HSVhsv(224, 56%, 57%)
CMYKcmyk(56.2%, 41.1%, 0%, 42.7%)
CIE-LABlab(37.52, 10.21, -35.70)
CIE-LCHlch(37.52, 37.13, 285.96°)
OKLaboklab(46.49% -0.0049 -0.1013)
OKLCHoklch(46.49% 0.101 267.2)
XYZxyz(10.6287, 9.8201, 28.5239)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405692 #927C40
analogous
#407F92 #405692 #534092
triadic
#405692 #924056 #569240
tetradic
#405692 #92407F #927C40 #409253
square
#405692 #92407F #927C40 #409253
split-complementary
#405692 #925340 #7F9240
monochromatic
#1B243D #2D3D67 #405692 #5972B6 #8496C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##405692#FFFFFF#000000##FFFFFF
##4056921.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)
#3D5C94
Deuteranopia (green-blind)
#335591
Tritanopia (blue-blind)
#12636D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #405692;
/* rgb */ color: rgb(64, 86, 146);
/* oklch */ color: oklch(46.5% 0.101 267.2);
Tailwind
colors: {
  custom: {
    50: '#7b85b2',
    500: '#405692',
    950: '#000000',
  },
}
SCSS
$custom: #405692;
$custom-light: #7b85b2;
$custom-dark: #000000;
JSON
{
  "hex": "#405692",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 146
  },
  "hsl": {
    "h": 223.902,
    "s": 39.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46491,
    "c": 0.10137,
    "h": 267.2
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#405692
secondary
#B3A47A
accent
#AF59CF
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #405692

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

Preview Lab → · Contrast checker → · Palette generator →

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