#403FF1#403FF1

#403FF1 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.3% C 0.254 H 272.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#403FF1
RGBrgb(64, 63, 241)
HSLhsl(240, 86%, 60%)
HSVhsv(240, 74%, 95%)
CMYKcmyk(73.4%, 73.9%, 0%, 5.5%)
CIE-LABlab(39.57, 56.69, -87.82)
CIE-LCHlch(39.57, 104.53, 302.84°)
OKLaboklab(50.33% 0.012 -0.2542)
OKLCHoklch(50.33% 0.254 272.7)
XYZxyz(19.7637, 10.9938, 84.2825)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403FF1 #F0F13F
analogous
#3F97F1 #403FF1 #993FF1
triadic
#403FF1 #F1403F #3FF140
tetradic
#403FF1 #F13F97 #F0F13F #3FF199
square
#403FF1 #F13F97 #F0F13F #3FF199
split-complementary
#403FF1 #F1993F #97F13F
monochromatic
#0D0CA9 #1211E2 #403FF1 #7978F5 #B1B1F9

Accessibility & contrast

On white

6.56
#403FF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#403FF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #403FF1
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403FF1#FFFFFF#000000##FFFFFF
##403FF11.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066F6
Deuteranopia (green-blind)
#0054EE
Tritanopia (blue-blind)
#007395
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #403ff1;
/* rgb */ color: rgb(64, 63, 241);
/* oklch */ color: oklch(50.3% 0.254 272.7);
Tailwind
colors: {
  custom: {
    50: '#8f76f7',
    500: '#403ff1',
    950: '#000000',
  },
}
SCSS
$custom: #403ff1;
$custom-light: #8f76f7;
$custom-dark: #000000;
JSON
{
  "hex": "#403ff1",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 241
  },
  "hsl": {
    "h": 240.337,
    "s": 86.408,
    "l": 59.608
  },
  "oklch": {
    "l": 0.50325,
    "c": 0.25444,
    "h": 272.7
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#403FF1
secondary
#E8E8A3
accent
#FD2BFB
background
#F9F7FF
surface
#F2EDFF
border
#CCC8D7
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #403FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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