#403D83#403D83

#403D83 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 40.2% C 0.114 H 281.9°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#403D83
RGBrgb(64, 61, 131)
HSLhsl(243, 36%, 38%)
HSVhsv(243, 53%, 51%)
CMYKcmyk(51.1%, 53.4%, 0%, 48.6%)
CIE-LABlab(29.58, 21.55, -39.17)
CIE-LCHlch(29.58, 44.71, 298.82°)
OKLaboklab(40.15% 0.0235 -0.1117)
OKLCHoklch(40.15% 0.114 281.9)
XYZxyz(7.8786, 6.0658, 22.2240)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D83 #80833D
analogous
#3D5D83 #403D83 #633D83
triadic
#403D83 #83403D #3D8340
tetradic
#403D83 #833D5D #80833D #3D8363
square
#403D83 #833D5D #80833D #3D8363
split-complementary
#403D83 #83633D #5D833D
monochromatic
#17162F #2C2A59 #403D83 #5450AD #7D7AC1

Accessibility & contrast

On white

9.49
#403D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#403D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D83
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D83#FFFFFF#000000##FFFFFF
##403D831.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4885
Deuteranopia (green-blind)
#154381
Tritanopia (blue-blind)
#274C5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #403d83;
/* rgb */ color: rgb(64, 61, 131);
/* oklch */ color: oklch(40.2% 0.114 281.9);
Tailwind
colors: {
  custom: {
    50: '#7a72a7',
    500: '#403d83',
    950: '#000000',
  },
}
SCSS
$custom: #403d83;
$custom-light: #7a72a7;
$custom-dark: #000000;
JSON
{
  "hex": "#403d83",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 131
  },
  "hsl": {
    "h": 242.571,
    "s": 36.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40151,
    "c": 0.11412,
    "h": 281.9
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#403D83
secondary
#A8AB71
accent
#CC5BC8
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A080F
muted
#7C7B7F

Preview Lab

Preview with #403D83

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

Preview Lab → · Contrast checker → · Palette generator →

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