#403BCB#403BCB

#403BCB is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.0% C 0.213 H 275.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#403BCB
RGBrgb(64, 59, 203)
HSLhsl(242, 58%, 51%)
HSVhsv(242, 71%, 80%)
CMYKcmyk(68.5%, 70.9%, 0%, 20.4%)
CIE-LABlab(35.06, 46.80, -73.50)
CIE-LCHlch(35.06, 87.14, 302.48°)
OKLaboklab(46% 0.0205 -0.2124)
OKLCHoklch(46% 0.213 275.5)
XYZxyz(14.4543, 8.5284, 57.3727)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BCB #C6CB3B
analogous
#3B7ECB #403BCB #883BCB
triadic
#403BCB #CB403B #3BCB40
tetradic
#403BCB #CB3B7E #C6CB3B #3BCB88
square
#403BCB #CB3B7E #C6CB3B #3BCB88
split-complementary
#403BCB #CB883B #7ECB3B
monochromatic
#201D6E #2E2A9F #403BCB #6F6BD8 #9E9CE5

Accessibility & contrast

On white

7.76
#403BCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#403BCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BCB
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BCB#FFFFFF#000000##FFFFFF
##403BCB1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CF
Deuteranopia (green-blind)
#004CC8
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #403bcb;
/* rgb */ color: rgb(64, 59, 203);
/* oklch */ color: oklch(46.0% 0.213 275.5);
Tailwind
colors: {
  custom: {
    50: '#8772dc',
    500: '#403bcb',
    950: '#000000',
  },
}
SCSS
$custom: #403bcb;
$custom-light: #8772dc;
$custom-dark: #000000;
JSON
{
  "hex": "#403bcb",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 242.083,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46003,
    "c": 0.2134,
    "h": 275.5
  },
  "luminance": 0.0853
}

Semantic roles & 50–950 ramp

primary
#403BCB
secondary
#CED191
accent
#E147DC
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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