#403DC8#403DC8

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

Color values

HEX#403DC8
RGBrgb(64, 61, 200)
HSLhsl(241, 56%, 51%)
HSVhsv(241, 70%, 78%)
CMYKcmyk(68%, 69.5%, 0%, 21.6%)
CIE-LABlab(35.20, 44.67, -71.54)
CIE-LCHlch(35.20, 84.34, 301.98°)
OKLaboklab(46.01% 0.0197 -0.2067)
OKLCHoklch(46.01% 0.208 275.4)
XYZxyz(14.2050, 8.5963, 55.5430)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DC8 #C5C83D
analogous
#3D7FC8 #403DC8 #853DC8
triadic
#403DC8 #C8403D #3DC840
tetradic
#403DC8 #C83D7F #C5C83D #3DC885
square
#403DC8 #C83D7F #C5C83D #3DC885
split-complementary
#403DC8 #C8853D #7FC83D
monochromatic
#201F6C #2F2C9C #403DC8 #6F6DD6 #9E9CE3

Accessibility & contrast

On white

7.72
#403DC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403DC8
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DC8#FFFFFF#000000##FFFFFF
##403DC81.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #403dc8;
/* rgb */ color: rgb(64, 61, 200);
/* oklch */ color: oklch(46.0% 0.208 275.4);
Tailwind
colors: {
  custom: {
    50: '#8774da',
    500: '#403dc8',
    950: '#000000',
  },
}
SCSS
$custom: #403dc8;
$custom-light: #8774da;
$custom-dark: #000000;
JSON
{
  "hex": "#403dc8",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 241.295,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46014,
    "c": 0.20761,
    "h": 275.4
  },
  "luminance": 0.08598
}

Semantic roles & 50–950 ramp

primary
#403DC8
secondary
#CECF92
accent
#DF49DC
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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