#403B83#403B83

#403B83 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.8% C 0.117 H 282.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#403B83
RGBrgb(64, 59, 131)
HSLhsl(244, 38%, 37%)
HSVhsv(244, 55%, 51%)
CMYKcmyk(51.1%, 55%, 0%, 48.6%)
CIE-LABlab(29.05, 22.87, -40.03)
CIE-LCHlch(29.05, 46.10, 299.74°)
OKLaboklab(39.75% 0.026 -0.1142)
OKLCHoklch(39.75% 0.117 282.8)
XYZxyz(7.7738, 5.8562, 22.1891)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B83 #7E833B
analogous
#3B5A83 #403B83 #643B83
triadic
#403B83 #83403B #3B8340
tetradic
#403B83 #833B5A #7E833B #3B8364
square
#403B83 #833B5A #7E833B #3B8364
split-complementary
#403B83 #83643B #5A833B
monochromatic
#17152F #2B2859 #403B83 #554EAD #7C77C2

Accessibility & contrast

On white

9.67
#403B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#403B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B83
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B83#FFFFFF#000000##FFFFFF
##403B831.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154785
Deuteranopia (green-blind)
#0F4281
Tritanopia (blue-blind)
#274B59
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #403b83;
/* rgb */ color: rgb(64, 59, 131);
/* oklch */ color: oklch(39.8% 0.117 282.8);
Tailwind
colors: {
  custom: {
    50: '#7a71a7',
    500: '#403b83',
    950: '#000000',
  },
}
SCSS
$custom: #403b83;
$custom-light: #7a71a7;
$custom-dark: #000000;
JSON
{
  "hex": "#403b83",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 131
  },
  "hsl": {
    "h": 244.167,
    "s": 37.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39754,
    "c": 0.11711,
    "h": 282.8
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#403B83
secondary
#A7AB6F
accent
#CE5AC6
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #403B83

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

Preview Lab → · Contrast checker → · Palette generator →

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