#403E83#403E83

#403E83 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.4% C 0.113 H 281.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#403E83
RGBrgb(64, 62, 131)
HSLhsl(242, 36%, 38%)
HSVhsv(242, 53%, 51%)
CMYKcmyk(51.1%, 52.7%, 0%, 48.6%)
CIE-LABlab(29.85, 20.89, -38.74)
CIE-LCHlch(29.85, 44.02, 298.34°)
OKLaboklab(40.35% 0.0223 -0.1104)
OKLCHoklch(40.35% 0.113 281.4)
XYZxyz(7.9325, 6.1735, 22.2420)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E83 #81833E
analogous
#3E5E83 #403E83 #623E83
triadic
#403E83 #83403E #3E8340
tetradic
#403E83 #833E5E #81833E #3E8362
square
#403E83 #833E5E #81833E #3E8362
split-complementary
#403E83 #83623E #5E833E
monochromatic
#171730 #2C2A59 #403E83 #5452AD #7D7BC0

Accessibility & contrast

On white

9.40
#403E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#403E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E83
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E83#FFFFFF#000000##FFFFFF
##403E831.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4985
Deuteranopia (green-blind)
#174481
Tritanopia (blue-blind)
#274D5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #403e83;
/* rgb */ color: rgb(64, 62, 131);
/* oklch */ color: oklch(40.4% 0.113 281.4);
Tailwind
colors: {
  custom: {
    50: '#7a73a7',
    500: '#403e83',
    950: '#000000',
  },
}
SCSS
$custom: #403e83;
$custom-light: #7a73a7;
$custom-dark: #000000;
JSON
{
  "hex": "#403e83",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 131
  },
  "hsl": {
    "h": 241.739,
    "s": 35.751,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40353,
    "c": 0.11261,
    "h": 281.4
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#403E83
secondary
#A9AB72
accent
#CC5CC9
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A080F
muted
#7C7B7F

Preview Lab

Preview with #403E83

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

Preview Lab → · Contrast checker → · Palette generator →

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