#403FDB#403FDB

#403FDB is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.1% C 0.229 H 273.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#403FDB
RGBrgb(64, 63, 219)
HSLhsl(240, 68%, 55%)
HSVhsv(240, 71%, 86%)
CMYKcmyk(70.8%, 71.2%, 0%, 14.1%)
CIE-LABlab(37.40, 49.71, -78.89)
CIE-LCHlch(37.40, 93.24, 302.22°)
OKLaboklab(48.14% 0.0157 -0.2281)
OKLCHoklch(48.14% 0.229 273.9)
XYZxyz(16.6738, 9.7578, 68.0088)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403FDB #DADB3F
analogous
#3F8CDB #403FDB #8E3FDB
triadic
#403FDB #DB403F #3FDB40
tetradic
#403FDB #DB3F8C #DADB3F #3FDB8E
square
#403FDB #DB3F8C #DADB3F #3FDB8E
split-complementary
#403FDB #DB8E3F #8CDB3F
monochromatic
#1A1986 #2423BA #403FDB #7373E5 #A7A6EE

Accessibility & contrast

On white

7.11
#403FDB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#403FDB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403FDB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403FDB#FFFFFF#000000##FFFFFF
##403FDB1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE0
Deuteranopia (green-blind)
#0051D8
Tritanopia (blue-blind)
#006B89
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #403fdb;
/* rgb */ color: rgb(64, 63, 219);
/* oklch */ color: oklch(48.1% 0.229 273.9);
Tailwind
colors: {
  custom: {
    50: '#8a76e7',
    500: '#403fdb',
    950: '#000000',
  },
}
SCSS
$custom: #403fdb;
$custom-light: #8a76e7;
$custom-dark: #000000;
JSON
{
  "hex": "#403fdb",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 219
  },
  "hsl": {
    "h": 240.385,
    "s": 68.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.48139,
    "c": 0.22867,
    "h": 273.9
  },
  "luminance": 0.09759
}

Semantic roles & 50–950 ramp

primary
#403FDB
secondary
#DBDC9A
accent
#EB3DEA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #403FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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