#403FC8#403FC8

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

Color values

HEX#403FC8
RGBrgb(64, 63, 200)
HSLhsl(240, 55%, 52%)
HSVhsv(240, 69%, 78%)
CMYKcmyk(68%, 68.5%, 0%, 21.6%)
CIE-LABlab(35.62, 43.50, -70.83)
CIE-LCHlch(35.62, 83.12, 301.56°)
OKLaboklab(46.32% 0.0184 -0.2046)
OKLCHoklch(46.32% 0.205 275.1)
XYZxyz(14.3137, 8.8138, 55.5793)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403FC8 #C7C83F
analogous
#3F83C8 #403FC8 #853FC8
triadic
#403FC8 #C8403F #3FC840
tetradic
#403FC8 #C83F83 #C7C83F #3FC885
square
#403FC8 #C83F83 #C7C83F #3FC885
split-complementary
#403FC8 #C8853F #83C83F
monochromatic
#201F6D #2E2D9D #403FC8 #6F6FD6 #9F9EE3

Accessibility & contrast

On white

7.60
#403FC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#403FC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403FC8
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403FC8#FFFFFF#000000##FFFFFF
##403FC81.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACC
Deuteranopia (green-blind)
#004DC5
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #403fc8;
/* rgb */ color: rgb(64, 63, 200);
/* oklch */ color: oklch(46.3% 0.205 275.1);
Tailwind
colors: {
  custom: {
    50: '#8675da',
    500: '#403fc8',
    950: '#000000',
  },
}
SCSS
$custom: #403fc8;
$custom-light: #8675da;
$custom-dark: #000000;
JSON
{
  "hex": "#403fc8",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 240.438,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46322,
    "c": 0.20544,
    "h": 275.1
  },
  "luminance": 0.08815
}

Semantic roles & 50–950 ramp

primary
#403FC8
secondary
#CFD093
accent
#DF49DE
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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