#403CCA#403CCA

#403CCA is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.1% C 0.211 H 275.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#403CCA
RGBrgb(64, 60, 202)
HSLhsl(242, 57%, 51%)
HSVhsv(242, 70%, 79%)
CMYKcmyk(68.3%, 70.3%, 0%, 20.8%)
CIE-LABlab(35.17, 45.90, -72.74)
CIE-LCHlch(35.17, 86.01, 302.25°)
OKLaboklab(46.05% 0.02 -0.2102)
OKLCHoklch(46.05% 0.211 275.4)
XYZxyz(14.3874, 8.5847, 56.7645)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CCA #C6CA3C
analogous
#3C7FCA #403CCA #873CCA
triadic
#403CCA #CA403C #3CCA40
tetradic
#403CCA #CA3C7F #C6CA3C #3CCA87
square
#403CCA #CA3C7F #C6CA3C #3CCA87
split-complementary
#403CCA #CA873C #7FCA3C
monochromatic
#201E6E #2E2B9E #403CCA #6F6CD7 #9E9CE4

Accessibility & contrast

On white

7.73
#403CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#403CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CCA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CCA#FFFFFF#000000##FFFFFF
##403CCA1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403cca;
/* rgb */ color: rgb(64, 60, 202);
/* oklch */ color: oklch(46.1% 0.211 275.4);
Tailwind
colors: {
  custom: {
    50: '#8773db',
    500: '#403cca',
    950: '#000000',
  },
}
SCSS
$custom: #403cca;
$custom-light: #8773db;
$custom-dark: #000000;
JSON
{
  "hex": "#403cca",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 202
  },
  "hsl": {
    "h": 241.69,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46054,
    "c": 0.21113,
    "h": 275.4
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #403CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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