#403BC2#403BC2

#403BC2 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.1% C 0.202 H 276.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#403BC2
RGBrgb(64, 59, 194)
HSLhsl(242, 53%, 50%)
HSVhsv(242, 70%, 76%)
CMYKcmyk(67%, 69.6%, 0%, 23.9%)
CIE-LABlab(34.21, 43.87, -69.64)
CIE-LCHlch(34.21, 82.31, 302.21°)
OKLaboklab(45.14% 0.0219 -0.2011)
OKLCHoklch(45.14% 0.202 276.2)
XYZxyz(13.4127, 8.1118, 51.8874)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BC2 #BDC23B
analogous
#3B7AC2 #403BC2 #833BC2
triadic
#403BC2 #C2403B #3BC240
tetradic
#403BC2 #C23B7A #BDC23B #3BC283
square
#403BC2 #C23B7A #BDC23B #3BC283
split-complementary
#403BC2 #C2833B #7AC23B
monochromatic
#211E64 #312D93 #403BC2 #6D69D1 #9A98E0

Accessibility & contrast

On white

8.01
#403BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#403BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BC2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BC2#FFFFFF#000000##FFFFFF
##403BC21.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#00607A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #403bc2;
/* rgb */ color: rgb(64, 59, 194);
/* oklch */ color: oklch(45.1% 0.202 276.2);
Tailwind
colors: {
  custom: {
    50: '#8672d6',
    500: '#403bc2',
    950: '#000000',
  },
}
SCSS
$custom: #403bc2;
$custom-light: #8672d6;
$custom-dark: #000000;
JSON
{
  "hex": "#403bc2",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 242.222,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45141,
    "c": 0.20232,
    "h": 276.2
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

primary
#403BC2
secondary
#C9CB8E
accent
#DD4BD7
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #403BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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