#403B95#403B95

#403B95 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.143 H 280.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#403B95
RGBrgb(64, 59, 149)
HSLhsl(243, 43%, 41%)
HSVhsv(243, 60%, 58%)
CMYKcmyk(57%, 60.4%, 0%, 41.6%)
CIE-LABlab(30.37, 28.88, -49.00)
CIE-LCHlch(30.37, 56.88, 300.52°)
OKLaboklab(41.16% 0.0262 -0.1406)
OKLCHoklch(41.16% 0.143 280.6)
XYZxyz(9.1014, 6.3873, 29.1812)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B95 #90953B
analogous
#3B6395 #403B95 #6D3B95
triadic
#403B95 #95403B #3B9540
tetradic
#403B95 #953B63 #90953B #3B956D
square
#403B95 #953B63 #90953B #3B956D
split-complementary
#403B95 #956D3B #63953B
monochromatic
#1A183D #2D2A69 #403B95 #5853BB #837ECC

Accessibility & contrast

On white

9.22
#403B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#403B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B95
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B95#FFFFFF#000000##FFFFFF
##403B951.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#155062
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #403b95;
/* rgb */ color: rgb(64, 59, 149);
/* oklch */ color: oklch(41.2% 0.143 280.6);
Tailwind
colors: {
  custom: {
    50: '#7d71b5',
    500: '#403b95',
    950: '#000000',
  },
}
SCSS
$custom: #403b95;
$custom-light: #7d71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#403b95",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 243.333,
    "s": 43.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41156,
    "c": 0.143,
    "h": 280.6
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#403B95
secondary
#B2B676
accent
#D355CC
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #403B95

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

Preview Lab → · Contrast checker → · Palette generator →

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