#403FCE#403FCE

#403FCE is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 46.9% C 0.213 H 274.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#403FCE
RGBrgb(64, 63, 206)
HSLhsl(240, 59%, 53%)
HSVhsv(240, 69%, 81%)
CMYKcmyk(68.9%, 69.4%, 0%, 19.2%)
CIE-LABlab(36.18, 45.48, -73.41)
CIE-LCHlch(36.18, 86.36, 301.78°)
OKLaboklab(46.89% 0.0176 -0.2121)
OKLCHoklch(46.89% 0.213 274.7)
XYZxyz(15.0288, 9.0998, 59.3450)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403FCE #CDCE3F
analogous
#3F85CE #403FCE #883FCE
triadic
#403FCE #CE403F #3FCE40
tetradic
#403FCE #CE3F85 #CDCE3F #3FCE88
square
#403FCE #CE3F85 #CDCE3F #3FCE88
split-complementary
#403FCE #CE883F #85CE3F
monochromatic
#1E1E75 #2B2AA6 #403FCE #7170DA #A1A1E7

Accessibility & contrast

On white

7.45
#403FCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#403FCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403FCE
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403FCE#FFFFFF#000000##FFFFFF
##403FCE1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#004ECB
Tritanopia (blue-blind)
#006682
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #403fce;
/* rgb */ color: rgb(64, 63, 206);
/* oklch */ color: oklch(46.9% 0.213 274.7);
Tailwind
colors: {
  custom: {
    50: '#8875de',
    500: '#403fce',
    950: '#000000',
  },
}
SCSS
$custom: #403fce;
$custom-light: #8875de;
$custom-dark: #000000;
JSON
{
  "hex": "#403fce",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 240.42,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.46888,
    "c": 0.21288,
    "h": 274.7
  },
  "luminance": 0.09101
}

Semantic roles & 50–950 ramp

primary
#403FCE
secondary
#D3D395
accent
#E345E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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