#403BA3#403BA3

#403BA3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.162 H 279.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#403BA3
RGBrgb(64, 59, 163)
HSLhsl(243, 47%, 44%)
HSVhsv(243, 64%, 64%)
CMYKcmyk(60.7%, 63.8%, 0%, 36.1%)
CIE-LABlab(31.49, 33.58, -55.68)
CIE-LCHlch(31.49, 65.02, 301.10°)
OKLaboklab(42.33% 0.0255 -0.1602)
OKLCHoklch(42.33% 0.162 279)
XYZxyz(10.2871, 6.8615, 35.4255)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BA3 #9EA33B
analogous
#3B6AA3 #403BA3 #743BA3
triadic
#403BA3 #A3403B #3BA340
tetradic
#403BA3 #A33B6A #9EA33B #3BA374
square
#403BA3 #A33B6A #9EA33B #3BA374
split-complementary
#403BA3 #A3743B #6AA33B
monochromatic
#1D1A49 #2E2B76 #403BA3 #5E58C3 #8985D3

Accessibility & contrast

On white

8.85
#403BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#403BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BA3
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BA3#FFFFFF#000000##FFFFFF
##403BA31.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #403ba3;
/* rgb */ color: rgb(64, 59, 163);
/* oklch */ color: oklch(42.3% 0.162 279.0);
Tailwind
colors: {
  custom: {
    50: '#8071bf',
    500: '#403ba3',
    950: '#000000',
  },
}
SCSS
$custom: #403ba3;
$custom-light: #8071bf;
$custom-dark: #000000;
JSON
{
  "hex": "#403ba3",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 242.885,
    "s": 46.847,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42329,
    "c": 0.16222,
    "h": 279
  },
  "luminance": 0.06862
}

Semantic roles & 50–950 ramp

primary
#403BA3
secondary
#BABD7D
accent
#D651D0
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #403BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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