#405183#405183

#405183 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.5% C 0.085 H 268.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#405183
RGBrgb(64, 81, 131)
HSLhsl(225, 34%, 38%)
HSVhsv(225, 51%, 51%)
CMYKcmyk(51.1%, 38.2%, 0%, 48.6%)
CIE-LABlab(35.23, 8.36, -30.18)
CIE-LCHlch(35.23, 31.31, 285.49°)
OKLaboklab(44.45% -0.0021 -0.0852)
OKLCHoklch(44.45% 0.085 268.6)
XYZxyz(9.1522, 8.6130, 22.6485)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405183 #837240
analogous
#407283 #405183 #504083
triadic
#405183 #834051 #518340
tetradic
#405183 #834072 #837240 #408350
square
#405183 #834072 #837240 #408350
split-complementary
#405183 #835040 #728340
monochromatic
#181E31 #2C385A #405183 #546BAC #7E8EC0

Accessibility & contrast

On white

7.71
#405183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#405183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405183
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405183#FFFFFF#000000##FFFFFF
##4051831.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5685
Deuteranopia (green-blind)
#375082
Tritanopia (blue-blind)
#245C64
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #405183;
/* rgb */ color: rgb(64, 81, 131);
/* oklch */ color: oklch(44.5% 0.085 268.6);
Tailwind
colors: {
  custom: {
    50: '#7981a7',
    500: '#405183',
    950: '#000000',
  },
}
SCSS
$custom: #405183;
$custom-light: #7981a7;
$custom-dark: #000000;
JSON
{
  "hex": "#405183",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 131
  },
  "hsl": {
    "h": 224.776,
    "s": 34.359,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44454,
    "c": 0.08519,
    "h": 268.6
  },
  "luminance": 0.08614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #405183

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

Preview Lab → · Contrast checker → · Palette generator →

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