#403BC3#403BC3

#403BC3 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.2% C 0.204 H 276.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#403BC3
RGBrgb(64, 59, 195)
HSLhsl(242, 54%, 50%)
HSVhsv(242, 70%, 76%)
CMYKcmyk(67.2%, 69.7%, 0%, 23.5%)
CIE-LABlab(34.31, 44.20, -70.07)
CIE-LCHlch(34.31, 82.85, 302.24°)
OKLaboklab(45.24% 0.0217 -0.2024)
OKLCHoklch(45.24% 0.204 276.1)
XYZxyz(13.5254, 8.1568, 52.4808)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BC3 #BEC33B
analogous
#3B7AC3 #403BC3 #843BC3
triadic
#403BC3 #C3403B #3BC340
tetradic
#403BC3 #C33B7A #BEC33B #3BC384
square
#403BC3 #C33B7A #BEC33B #3BC384
split-complementary
#403BC3 #C3843B #7AC33B
monochromatic
#211F65 #312D94 #403BC3 #6D69D2 #9B98E0

Accessibility & contrast

On white

7.98
#403BC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#403BC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BC3
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BC3#FFFFFF#000000##FFFFFF
##403BC31.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C7
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#00607A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #403bc3;
/* rgb */ color: rgb(64, 59, 195);
/* oklch */ color: oklch(45.2% 0.204 276.1);
Tailwind
colors: {
  custom: {
    50: '#8672d6',
    500: '#403bc3',
    950: '#000000',
  },
}
SCSS
$custom: #403bc3;
$custom-light: #8672d6;
$custom-dark: #000000;
JSON
{
  "hex": "#403bc3",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 195
  },
  "hsl": {
    "h": 242.206,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.20356,
    "h": 276.1
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#403BC3
secondary
#C9CC8E
accent
#DD4BD8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #403BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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