#403FDD#403FDD

#403FDD is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.3% C 0.231 H 273.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#403FDD
RGBrgb(64, 63, 221)
HSLhsl(240, 70%, 56%)
HSVhsv(240, 71%, 87%)
CMYKcmyk(71%, 71.5%, 0%, 13.3%)
CIE-LABlab(37.60, 50.35, -79.71)
CIE-LCHlch(37.60, 94.29, 302.28°)
OKLaboklab(48.33% 0.0153 -0.2305)
OKLCHoklch(48.33% 0.231 273.8)
XYZxyz(16.9387, 9.8638, 69.4038)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403FDD #DCDD3F
analogous
#3F8DDD #403FDD #8F3FDD
triadic
#403FDD #DD403F #3FDD40
tetradic
#403FDD #DD3F8D #DCDD3F #3FDD8F
square
#403FDD #DD3F8D #DCDD3F #3FDD8F
split-complementary
#403FDD #DD8F3F #8DDD3F
monochromatic
#191889 #2322BD #403FDD #7473E6 #A7A7EF

Accessibility & contrast

On white

7.06
#403FDD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#403FDD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403FDD
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403FDD#FFFFFF#000000##FFFFFF
##403FDD1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E2
Deuteranopia (green-blind)
#0051DA
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #403fdd;
/* rgb */ color: rgb(64, 63, 221);
/* oklch */ color: oklch(48.3% 0.231 273.8);
Tailwind
colors: {
  custom: {
    50: '#8b76e9',
    500: '#403fdd',
    950: '#000000',
  },
}
SCSS
$custom: #403fdd;
$custom-light: #8b76e9;
$custom-dark: #000000;
JSON
{
  "hex": "#403fdd",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 221
  },
  "hsl": {
    "h": 240.38,
    "s": 69.912,
    "l": 55.686
  },
  "oklch": {
    "l": 0.48334,
    "c": 0.23106,
    "h": 273.8
  },
  "luminance": 0.09865
}

Semantic roles & 50–950 ramp

primary
#403FDD
secondary
#DCDD9B
accent
#ED3BEC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #403FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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