#403C96#403C96

#403C96 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.143 H 280.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#403C96
RGBrgb(64, 60, 150)
HSLhsl(243, 43%, 41%)
HSVhsv(243, 60%, 59%)
CMYKcmyk(57.3%, 60%, 0%, 41.2%)
CIE-LABlab(30.70, 28.58, -49.08)
CIE-LCHlch(30.70, 56.79, 300.21°)
OKLaboklab(41.42% 0.0251 -0.1408)
OKLCHoklch(41.42% 0.143 280.1)
XYZxyz(9.2335, 6.5231, 29.6208)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C96 #92963C
analogous
#3C6596 #403C96 #6D3C96
triadic
#403C96 #96403C #3C9640
tetradic
#403C96 #963C65 #92963C #3C966D
square
#403C96 #963C65 #92963C #3C966D
split-complementary
#403C96 #966D3C #65963C
monochromatic
#1B193F #2D2B6A #403C96 #5954BB #8480CC

Accessibility & contrast

On white

9.11
#403C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#403C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C96
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C96#FFFFFF#000000##FFFFFF
##403C961.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#135163
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #403c96;
/* rgb */ color: rgb(64, 60, 150);
/* oklch */ color: oklch(41.4% 0.143 280.1);
Tailwind
colors: {
  custom: {
    50: '#7d72b6',
    500: '#403c96',
    950: '#000000',
  },
}
SCSS
$custom: #403c96;
$custom-light: #7d72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#403c96",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 150
  },
  "hsl": {
    "h": 242.667,
    "s": 42.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41421,
    "c": 0.14303,
    "h": 280.1
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#403C96
secondary
#B3B678
accent
#D355CD
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #403C96

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

Preview Lab → · Contrast checker → · Palette generator →

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