#403CCD#403CCD

#403CCD is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.3% C 0.215 H 275.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#403CCD
RGBrgb(64, 60, 205)
HSLhsl(242, 59%, 52%)
HSVhsv(242, 71%, 80%)
CMYKcmyk(68.8%, 70.7%, 0%, 19.6%)
CIE-LABlab(35.46, 46.88, -74.02)
CIE-LCHlch(35.46, 87.61, 302.35°)
OKLaboklab(46.34% 0.0196 -0.2139)
OKLCHoklch(46.34% 0.215 275.2)
XYZxyz(14.7460, 8.7281, 58.6534)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CCD #C9CD3C
analogous
#3C81CD #403CCD #893CCD
triadic
#403CCD #CD403C #3CCD40
tetradic
#403CCD #CD3C81 #C9CD3C #3CCD89
square
#403CCD #CD3C81 #C9CD3C #3CCD89
split-complementary
#403CCD #CD893C #81CD3C
monochromatic
#1F1D71 #2D2AA2 #403CCD #706DD9 #9F9DE6

Accessibility & contrast

On white

7.65
#403CCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#403CCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CCD
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CCD#FFFFFF#000000##FFFFFF
##403CCD1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#004DCA
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #403ccd;
/* rgb */ color: rgb(64, 60, 205);
/* oklch */ color: oklch(46.3% 0.215 275.2);
Tailwind
colors: {
  custom: {
    50: '#8873de',
    500: '#403ccd',
    950: '#000000',
  },
}
SCSS
$custom: #403ccd;
$custom-light: #8873de;
$custom-dark: #000000;
JSON
{
  "hex": "#403ccd",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 241.655,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.46343,
    "c": 0.2148,
    "h": 275.2
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #403CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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