#403DCC#403DCC

#403DCC is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.4% C 0.213 H 275.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#403DCC
RGBrgb(64, 61, 204)
HSLhsl(241, 58%, 52%)
HSVhsv(241, 70%, 80%)
CMYKcmyk(68.6%, 70.1%, 0%, 20%)
CIE-LABlab(35.57, 45.98, -73.25)
CIE-LCHlch(35.57, 86.48, 302.12°)
OKLaboklab(46.4% 0.0191 -0.2117)
OKLCHoklch(46.4% 0.213 275.2)
XYZxyz(14.6786, 8.7858, 58.0373)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DCC #C9CC3D
analogous
#3D81CC #403DCC #883DCC
triadic
#403DCC #CC403D #3DCC40
tetradic
#403DCC #CC3D81 #C9CC3D #3DCC88
square
#403DCC #CC3D81 #C9CC3D #3DCC88
split-complementary
#403DCC #CC883D #81CC3D
monochromatic
#1F1E71 #2D2AA1 #403DCC #706DD9 #9F9EE5

Accessibility & contrast

On white

7.62
#403DCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#403DCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403DCC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DCC#FFFFFF#000000##FFFFFF
##403DCC1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#004DC9
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #403dcc;
/* rgb */ color: rgb(64, 61, 204);
/* oklch */ color: oklch(46.4% 0.213 275.2);
Tailwind
colors: {
  custom: {
    50: '#8774dd',
    500: '#403dcc',
    950: '#000000',
  },
}
SCSS
$custom: #403dcc;
$custom-light: #8774dd;
$custom-dark: #000000;
JSON
{
  "hex": "#403dcc",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 241.259,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.46395,
    "c": 0.21254,
    "h": 275.2
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

primary
#403DCC
secondary
#D0D293
accent
#E246DE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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