#403C83#403C83

#403C83 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 40.0% C 0.116 H 282.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#403C83
RGBrgb(64, 60, 131)
HSLhsl(243, 37%, 37%)
HSVhsv(243, 54%, 51%)
CMYKcmyk(51.1%, 54.2%, 0%, 48.6%)
CIE-LABlab(29.31, 22.21, -39.60)
CIE-LCHlch(29.31, 45.41, 299.29°)
OKLaboklab(39.95% 0.0247 -0.1129)
OKLCHoklch(39.95% 0.116 282.4)
XYZxyz(7.8257, 5.9600, 22.2064)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C83 #7F833C
analogous
#3C5C83 #403C83 #633C83
triadic
#403C83 #83403C #3C8340
tetradic
#403C83 #833C5C #7F833C #3C8363
square
#403C83 #833C5C #7F833C #3C8363
split-complementary
#403C83 #83633C #5C833C
monochromatic
#17162F #2B2959 #403C83 #554FAD #7C78C1

Accessibility & contrast

On white

9.58
#403C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#403C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C83
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C83#FFFFFF#000000##FFFFFF
##403C831.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184885
Deuteranopia (green-blind)
#124381
Tritanopia (blue-blind)
#274C59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #403c83;
/* rgb */ color: rgb(64, 60, 131);
/* oklch */ color: oklch(40.0% 0.116 282.4);
Tailwind
colors: {
  custom: {
    50: '#7a71a7',
    500: '#403c83',
    950: '#000000',
  },
}
SCSS
$custom: #403c83;
$custom-light: #7a71a7;
$custom-dark: #000000;
JSON
{
  "hex": "#403c83",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 131
  },
  "hsl": {
    "h": 243.38,
    "s": 37.173,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39952,
    "c": 0.11561,
    "h": 282.4
  },
  "luminance": 0.0596
}

Semantic roles & 50–950 ramp

primary
#403C83
secondary
#A8AB70
accent
#CD5BC7
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #403C83

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

Preview Lab → · Contrast checker → · Palette generator →

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