#403FCA#403FCA

#403FCA is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.5% C 0.208 H 275.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#403FCA
RGBrgb(64, 63, 202)
HSLhsl(240, 57%, 52%)
HSVhsv(240, 69%, 79%)
CMYKcmyk(68.3%, 68.8%, 0%, 20.8%)
CIE-LABlab(35.81, 44.16, -71.70)
CIE-LCHlch(35.81, 84.21, 301.63°)
OKLaboklab(46.51% 0.0182 -0.2071)
OKLCHoklch(46.51% 0.208 275)
XYZxyz(14.5490, 8.9079, 56.8183)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403FCA #C9CA3F
analogous
#3F83CA #403FCA #863FCA
triadic
#403FCA #CA403F #3FCA40
tetradic
#403FCA #CA3F83 #C9CA3F #3FCA86
square
#403FCA #CA3F83 #C9CA3F #3FCA86
split-complementary
#403FCA #CA863F #83CA3F
monochromatic
#1F1F70 #2D2CA0 #403FCA #706FD7 #9F9FE4

Accessibility & contrast

On white

7.55
#403FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#403FCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403FCA
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403FCA#FFFFFF#000000##FFFFFF
##403FCA1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#004EC7
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #403fca;
/* rgb */ color: rgb(64, 63, 202);
/* oklch */ color: oklch(46.5% 0.208 275.0);
Tailwind
colors: {
  custom: {
    50: '#8775db',
    500: '#403fca',
    950: '#000000',
  },
}
SCSS
$custom: #403fca;
$custom-light: #8775db;
$custom-dark: #000000;
JSON
{
  "hex": "#403fca",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 240.432,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.4651,
    "c": 0.20793,
    "h": 275
  },
  "luminance": 0.08909
}

Semantic roles & 50–950 ramp

primary
#403FCA
secondary
#D0D194
accent
#E048DF
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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