#405083#405083

#405083 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.087 H 269.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#405083
RGBrgb(64, 80, 131)
HSLhsl(226, 34%, 38%)
HSVhsv(226, 51%, 51%)
CMYKcmyk(51.1%, 38.9%, 0%, 48.6%)
CIE-LABlab(34.93, 9.01, -30.64)
CIE-LCHlch(34.93, 31.94, 286.39°)
OKLaboklab(44.23% -0.0008 -0.0865)
OKLCHoklch(44.23% 0.087 269.5)
XYZxyz(9.0784, 8.4654, 22.6239)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405083 #837340
analogous
#407183 #405083 #514083
triadic
#405083 #834050 #508340
tetradic
#405083 #834071 #837340 #408351
square
#405083 #834071 #837340 #408351
split-complementary
#405083 #835140 #718340
monochromatic
#181E31 #2C375A #405083 #5469AC #7E8DC0

Accessibility & contrast

On white

7.80
#405083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#405083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405083
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405083#FFFFFF#000000##FFFFFF
##4050831.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5585
Deuteranopia (green-blind)
#354F82
Tritanopia (blue-blind)
#245B63
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #405083;
/* rgb */ color: rgb(64, 80, 131);
/* oklch */ color: oklch(44.2% 0.087 269.5);
Tailwind
colors: {
  custom: {
    50: '#7980a7',
    500: '#405083',
    950: '#000000',
  },
}
SCSS
$custom: #405083;
$custom-light: #7980a7;
$custom-dark: #000000;
JSON
{
  "hex": "#405083",
  "rgb": {
    "r": 64,
    "g": 80,
    "b": 131
  },
  "hsl": {
    "h": 225.672,
    "s": 34.359,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44227,
    "c": 0.08652,
    "h": 269.5
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#405083
secondary
#AA9D75
accent
#B05DCA
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #405083

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

Preview Lab → · Contrast checker → · Palette generator →

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