#403CC1#403CC1

#403CC1 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.2% C 0.200 H 276.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#403CC1
RGBrgb(64, 60, 193)
HSLhsl(242, 53%, 50%)
HSVhsv(242, 69%, 76%)
CMYKcmyk(66.8%, 68.9%, 0%, 24.3%)
CIE-LABlab(34.34, 42.96, -68.86)
CIE-LCHlch(34.34, 81.16, 301.96°)
OKLaboklab(45.2% 0.0214 -0.1988)
OKLCHoklch(45.2% 0.2 276.1)
XYZxyz(13.3527, 8.1708, 51.3152)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CC1 #BDC13C
analogous
#3C7AC1 #403CC1 #833CC1
triadic
#403CC1 #C1403C #3CC140
tetradic
#403CC1 #C13C7A #BDC13C #3CC183
square
#403CC1 #C13C7A #BDC13C #3CC183
split-complementary
#403CC1 #C1833C #7AC13C
monochromatic
#211F64 #312D92 #403CC1 #6D6AD1 #9A98DF

Accessibility & contrast

On white

7.97
#403CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403CC1
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CC1#FFFFFF#000000##FFFFFF
##403CC11.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403cc1;
/* rgb */ color: rgb(64, 60, 193);
/* oklch */ color: oklch(45.2% 0.200 276.1);
Tailwind
colors: {
  custom: {
    50: '#8573d5',
    500: '#403cc1',
    950: '#000000',
  },
}
SCSS
$custom: #403cc1;
$custom-light: #8573d5;
$custom-dark: #000000;
JSON
{
  "hex": "#403cc1",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 193
  },
  "hsl": {
    "h": 241.805,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.452,
    "c": 0.19997,
    "h": 276.1
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

primary
#403CC1
secondary
#C9CB8E
accent
#DC4CD8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #403CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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