#403C85#403C85

#403C85 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 40.1% C 0.119 H 282.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#403C85
RGBrgb(64, 60, 133)
HSLhsl(243, 38%, 38%)
HSVhsv(243, 55%, 52%)
CMYKcmyk(51.9%, 54.9%, 0%, 47.8%)
CIE-LABlab(29.45, 22.88, -40.62)
CIE-LCHlch(29.45, 46.62, 299.39°)
OKLaboklab(40.1% 0.0249 -0.1159)
OKLCHoklch(40.1% 0.119 282.1)
XYZxyz(7.9626, 6.0147, 22.9271)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C85 #81853C
analogous
#3C5C85 #403C85 #653C85
triadic
#403C85 #85403C #3C8540
tetradic
#403C85 #853C5C #81853C #3C8565
square
#403C85 #853C5C #81853C #3C8565
split-complementary
#403C85 #85653C #5C853C
monochromatic
#171631 #2C295B #403C85 #544FAF #7D79C3

Accessibility & contrast

On white

9.53
#403C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#403C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C85
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C85#FFFFFF#000000##FFFFFF
##403C851.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154888
Deuteranopia (green-blind)
#0E4383
Tritanopia (blue-blind)
#264C5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #403c85;
/* rgb */ color: rgb(64, 60, 133);
/* oklch */ color: oklch(40.1% 0.119 282.1);
Tailwind
colors: {
  custom: {
    50: '#7a71a9',
    500: '#403c85',
    950: '#000000',
  },
}
SCSS
$custom: #403c85;
$custom-light: #7a71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#403c85",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 133
  },
  "hsl": {
    "h": 243.288,
    "s": 37.824,
    "l": 37.843
  },
  "oklch": {
    "l": 0.401,
    "c": 0.11858,
    "h": 282.1
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#403C85
secondary
#A9AC71
accent
#CE5AC7
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #403C85

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

Preview Lab → · Contrast checker → · Palette generator →

#403C85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva