#403585#403585

#403585 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.129 H 284.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#403585
RGBrgb(64, 53, 133)
HSLhsl(248, 43%, 36%)
HSVhsv(248, 60%, 52%)
CMYKcmyk(51.9%, 60.2%, 0%, 47.8%)
CIE-LABlab(27.65, 27.44, -43.52)
CIE-LCHlch(27.65, 51.45, 302.23°)
OKLaboklab(38.77% 0.0332 -0.1245)
OKLCHoklch(38.77% 0.129 284.9)
XYZxyz(7.6198, 5.3293, 22.8129)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403585 #7A8535
analogous
#355285 #403585 #683585
triadic
#403585 #854035 #358540
tetradic
#403585 #853552 #7A8535 #358568
square
#403585 #853552 #7A8535 #358568
split-complementary
#403585 #856835 #528535
monochromatic
#16122D #2B2459 #403585 #5546B1 #7B6FC6

Accessibility & contrast

On white

10.16
#403585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#403585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403585
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403585#FFFFFF#000000##FFFFFF
##4035851.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#264757
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #403585;
/* rgb */ color: rgb(64, 53, 133);
/* oklch */ color: oklch(38.8% 0.129 284.9);
Tailwind
colors: {
  custom: {
    50: '#7b6ca9',
    500: '#403585',
    950: '#000000',
  },
}
SCSS
$custom: #403585;
$custom-light: #7b6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#403585",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 133
  },
  "hsl": {
    "h": 248.25,
    "s": 43.011,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38767,
    "c": 0.12886,
    "h": 284.9
  },
  "luminance": 0.0533
}

Semantic roles & 50–950 ramp

primary
#403585
secondary
#A4AE68
accent
#D355C1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #403585

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

Preview Lab → · Contrast checker → · Palette generator →

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