#405B83#405B83

#405B83 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 46.8% C 0.073 H 258.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#405B83
RGBrgb(64, 91, 131)
HSLhsl(216, 34%, 38%)
HSVhsv(216, 51%, 51%)
CMYKcmyk(51.1%, 30.5%, 0%, 48.6%)
CIE-LABlab(38.22, 1.96, -25.49)
CIE-LCHlch(38.22, 25.56, 274.40°)
OKLaboklab(46.78% -0.0151 -0.0715)
OKLCHoklch(46.78% 0.073 258)
XYZxyz(9.9508, 10.2102, 22.9147)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405B83 #836840
analogous
#407C83 #405B83 #464083
triadic
#405B83 #83405B #5B8340
tetradic
#405B83 #83407C #836840 #408346
square
#405B83 #83407C #836840 #408346
split-complementary
#405B83 #834640 #7C8340
monochromatic
#182231 #2C3E5A #405B83 #5478AC #7E98C0

Accessibility & contrast

On white

6.90
#405B83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#405B83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405B83
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405B83#FFFFFF#000000##FFFFFF
##405B831.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5D85
Deuteranopia (green-blind)
#445782
Tritanopia (blue-blind)
#226469
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #405b83;
/* rgb */ color: rgb(64, 91, 131);
/* oklch */ color: oklch(46.8% 0.073 258.0);
Tailwind
colors: {
  custom: {
    50: '#7989a7',
    500: '#405b83',
    950: '#000000',
  },
}
SCSS
$custom: #405b83;
$custom-light: #7989a7;
$custom-dark: #000000;
JSON
{
  "hex": "#405b83",
  "rgb": {
    "r": 64,
    "g": 91,
    "b": 131
  },
  "hsl": {
    "h": 215.821,
    "s": 34.359,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46777,
    "c": 0.07308,
    "h": 258
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#405B83
secondary
#AA9575
accent
#9E5DCA
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#090B0F
muted
#7B7C7F

Preview Lab

Preview with #405B83

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

Preview Lab → · Contrast checker → · Palette generator →

#405B83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva