#403BC5#403BC5

#403BC5 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.4% C 0.206 H 276.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#403BC5
RGBrgb(64, 59, 197)
HSLhsl(242, 54%, 50%)
HSVhsv(242, 70%, 77%)
CMYKcmyk(67.5%, 70.1%, 0%, 22.7%)
CIE-LABlab(34.49, 44.85, -70.94)
CIE-LCHlch(34.49, 83.93, 302.30°)
OKLaboklab(45.43% 0.0214 -0.2049)
OKLCHoklch(45.43% 0.206 276)
XYZxyz(13.7531, 8.2479, 53.6797)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BC5 #C0C53B
analogous
#3B7BC5 #403BC5 #853BC5
triadic
#403BC5 #C5403B #3BC540
tetradic
#403BC5 #C53B7B #C0C53B #3BC585
square
#403BC5 #C53B7B #C0C53B #3BC585
split-complementary
#403BC5 #C5853B #7BC53B
monochromatic
#211F67 #302C96 #403BC5 #6E6AD3 #9C99E1

Accessibility & contrast

On white

7.93
#403BC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#403BC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BC5
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BC5#FFFFFF#000000##FFFFFF
##403BC51.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#004BC2
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #403bc5;
/* rgb */ color: rgb(64, 59, 197);
/* oklch */ color: oklch(45.4% 0.206 276.0);
Tailwind
colors: {
  custom: {
    50: '#8672d8',
    500: '#403bc5',
    950: '#000000',
  },
}
SCSS
$custom: #403bc5;
$custom-light: #8672d8;
$custom-dark: #000000;
JSON
{
  "hex": "#403bc5",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 242.174,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45426,
    "c": 0.20604,
    "h": 276
  },
  "luminance": 0.08249
}

Semantic roles & 50–950 ramp

primary
#403BC5
secondary
#CBCD8F
accent
#DE4AD8
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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