#403BCA#403BCA

#403BCA is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.9% C 0.212 H 275.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#403BCA
RGBrgb(64, 59, 202)
HSLhsl(242, 57%, 51%)
HSVhsv(242, 71%, 79%)
CMYKcmyk(68.3%, 70.8%, 0%, 20.8%)
CIE-LABlab(34.97, 46.47, -73.08)
CIE-LCHlch(34.97, 86.61, 302.45°)
OKLaboklab(45.91% 0.0207 -0.2112)
OKLCHoklch(45.91% 0.212 275.6)
XYZxyz(14.3355, 8.4809, 56.7472)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BCA #C5CA3B
analogous
#3B7DCA #403BCA #873BCA
triadic
#403BCA #CA403B #3BCA40
tetradic
#403BCA #CA3B7D #C5CA3B #3BCA87
square
#403BCA #CA3B7D #C5CA3B #3BCA87
split-complementary
#403BCA #CA873B #7DCA3B
monochromatic
#201E6D #2F2B9D #403BCA #6F6BD7 #9E9BE4

Accessibility & contrast

On white

7.79
#403BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#403BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BCA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BCA#FFFFFF#000000##FFFFFF
##403BCA1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#004CC7
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #403bca;
/* rgb */ color: rgb(64, 59, 202);
/* oklch */ color: oklch(45.9% 0.212 275.6);
Tailwind
colors: {
  custom: {
    50: '#8772db',
    500: '#403bca',
    950: '#000000',
  },
}
SCSS
$custom: #403bca;
$custom-light: #8772db;
$custom-dark: #000000;
JSON
{
  "hex": "#403bca",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 242.098,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45906,
    "c": 0.21219,
    "h": 275.6
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#403BCA
secondary
#CED091
accent
#E147DB
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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