#403DC1#403DC1

#403DC1 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.4% C 0.199 H 276.0°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#403DC1
RGBrgb(64, 61, 193)
HSLhsl(241, 52%, 50%)
HSVhsv(241, 68%, 76%)
CMYKcmyk(66.8%, 68.4%, 0%, 24.3%)
CIE-LABlab(34.55, 42.37, -68.50)
CIE-LCHlch(34.55, 80.54, 301.74°)
OKLaboklab(45.36% 0.0207 -0.1978)
OKLCHoklch(45.36% 0.199 276)
XYZxyz(13.4056, 8.2765, 51.3328)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DC1 #BEC13D
analogous
#3D7CC1 #403DC1 #823DC1
triadic
#403DC1 #C1403D #3DC140
tetradic
#403DC1 #C13D7C #BEC13D #3DC182
square
#403DC1 #C13D7C #BEC13D #3DC182
split-complementary
#403DC1 #C1823D #7CC13D
monochromatic
#212064 #312E92 #403DC1 #6D6BD0 #9B99DF

Accessibility & contrast

On white

7.91
#403DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#403DC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403DC1
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DC1#FFFFFF#000000##FFFFFF
##403DC11.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.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: #403dc1;
/* rgb */ color: rgb(64, 61, 193);
/* oklch */ color: oklch(45.4% 0.199 276.0);
Tailwind
colors: {
  custom: {
    50: '#8573d5',
    500: '#403dc1',
    950: '#000000',
  },
}
SCSS
$custom: #403dc1;
$custom-light: #8573d5;
$custom-dark: #000000;
JSON
{
  "hex": "#403dc1",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 193
  },
  "hsl": {
    "h": 241.364,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45356,
    "c": 0.19887,
    "h": 276
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#403DC1
secondary
#C9CB8F
accent
#DB4CD8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #403DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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