#405693#405693

#405693 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.6% C 0.103 H 267.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#405693
RGBrgb(64, 86, 147)
HSLhsl(224, 39%, 41%)
HSVhsv(224, 56%, 58%)
CMYKcmyk(56.5%, 41.5%, 0%, 42.4%)
CIE-LABlab(37.57, 10.55, -36.21)
CIE-LCHlch(37.57, 37.72, 286.25°)
OKLaboklab(46.55% -0.0047 -0.1028)
OKLCHoklch(46.55% 0.103 267.4)
XYZxyz(10.7068, 9.8513, 28.9354)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405693 #937D40
analogous
#408093 #405693 #544093
triadic
#405693 #934056 #569340
tetradic
#405693 #934080 #937D40 #409354
square
#405693 #934080 #937D40 #409354
split-complementary
#405693 #935440 #809340
monochromatic
#1B243E #2D3D68 #405693 #5972B7 #8496C9

Accessibility & contrast

On white

7.07
#405693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#405693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405693
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405693#FFFFFF#000000##FFFFFF
##4056931.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5C95
Deuteranopia (green-blind)
#325592
Tritanopia (blue-blind)
#10636D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #405693;
/* rgb */ color: rgb(64, 86, 147);
/* oklch */ color: oklch(46.6% 0.103 267.4);
Tailwind
colors: {
  custom: {
    50: '#7b85b3',
    500: '#405693',
    950: '#000000',
  },
}
SCSS
$custom: #405693;
$custom-light: #7b85b3;
$custom-dark: #000000;
JSON
{
  "hex": "#405693",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 224.096,
    "s": 39.336,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46553,
    "c": 0.10287,
    "h": 267.4
  },
  "luminance": 0.09852
}

Semantic roles & 50–950 ramp

primary
#405693
secondary
#B4A57B
accent
#B059CF
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #405693

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

Preview Lab → · Contrast checker → · Palette generator →

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