#403BD0#403BD0

#403BD0 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.5% C 0.219 H 275.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#403BD0
RGBrgb(64, 59, 208)
HSLhsl(242, 61%, 52%)
HSVhsv(242, 72%, 82%)
CMYKcmyk(69.2%, 71.6%, 0%, 18.4%)
CIE-LABlab(35.54, 48.41, -75.62)
CIE-LCHlch(35.54, 89.79, 302.63°)
OKLaboklab(46.49% 0.0197 -0.2186)
OKLCHoklch(46.49% 0.219 275.1)
XYZxyz(15.0597, 8.7706, 60.5615)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BD0 #CBD03B
analogous
#3B81D0 #403BD0 #8A3BD0
triadic
#403BD0 #D0403B #3BD040
tetradic
#403BD0 #D03B81 #CBD03B #3BD08A
square
#403BD0 #D03B81 #CBD03B #3BD08A
split-complementary
#403BD0 #D08A3B #81D03B
monochromatic
#1F1C75 #2C28A6 #403BD0 #706CDC #A09EE8

Accessibility & contrast

On white

7.62
#403BD0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403BD0
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BD0#FFFFFF#000000##FFFFFF
##403BD01.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD4
Deuteranopia (green-blind)
#004DCD
Tritanopia (blue-blind)
#006582
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #403bd0;
/* rgb */ color: rgb(64, 59, 208);
/* oklch */ color: oklch(46.5% 0.219 275.1);
Tailwind
colors: {
  custom: {
    50: '#8873e0',
    500: '#403bd0',
    950: '#000000',
  },
}
SCSS
$custom: #403bd0;
$custom-light: #8873e0;
$custom-dark: #000000;
JSON
{
  "hex": "#403bd0",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 208
  },
  "hsl": {
    "h": 242.013,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.46489,
    "c": 0.21947,
    "h": 275.1
  },
  "luminance": 0.08772
}

Semantic roles & 50–950 ramp

primary
#403BD0
secondary
#D2D493
accent
#E443DF
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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