#403BCE#403BCE

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

Color values

HEX#403BCE
RGBrgb(64, 59, 206)
HSLhsl(242, 60%, 52%)
HSVhsv(242, 71%, 81%)
CMYKcmyk(68.9%, 71.4%, 0%, 19.2%)
CIE-LABlab(35.35, 47.77, -74.78)
CIE-LCHlch(35.35, 88.73, 302.57°)
OKLaboklab(46.29% 0.02 -0.2161)
OKLCHoklch(46.29% 0.217 275.3)
XYZxyz(14.8152, 8.6728, 59.2738)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BCE #C9CE3B
analogous
#3B80CE #403BCE #8A3BCE
triadic
#403BCE #CE403B #3BCE40
tetradic
#403BCE #CE3B80 #C9CE3B #3BCE8A
square
#403BCE #CE3B80 #C9CE3B #3BCE8A
split-complementary
#403BCE #CE8A3B #80CE3B
monochromatic
#1F1D72 #2D29A3 #403BCE #706CDA #9F9DE6

Accessibility & contrast

On white

7.68
#403BCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#403BCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BCE
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BCE#FFFFFF#000000##FFFFFF
##403BCE1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#004CCB
Tritanopia (blue-blind)
#006481
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #403bce;
/* rgb */ color: rgb(64, 59, 206);
/* oklch */ color: oklch(46.3% 0.217 275.3);
Tailwind
colors: {
  custom: {
    50: '#8873de',
    500: '#403bce',
    950: '#000000',
  },
}
SCSS
$custom: #403bce;
$custom-light: #8873de;
$custom-dark: #000000;
JSON
{
  "hex": "#403bce",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 206
  },
  "hsl": {
    "h": 242.041,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.46294,
    "c": 0.21705,
    "h": 275.3
  },
  "luminance": 0.08674
}

Semantic roles & 50–950 ramp

primary
#403BCE
secondary
#D0D392
accent
#E345DE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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