#403FCF#403FCF

#403FCF is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.0% C 0.214 H 274.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#403FCF
RGBrgb(64, 63, 207)
HSLhsl(240, 60%, 53%)
HSVhsv(240, 70%, 81%)
CMYKcmyk(69.1%, 69.6%, 0%, 18.8%)
CIE-LABlab(36.27, 45.81, -73.84)
CIE-LCHlch(36.27, 86.89, 301.81°)
OKLaboklab(46.98% 0.0175 -0.2134)
OKLCHoklch(46.98% 0.214 274.7)
XYZxyz(15.1506, 9.1486, 59.9868)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403FCF #CECF3F
analogous
#3F86CF #403FCF #883FCF
triadic
#403FCF #CF403F #3FCF40
tetradic
#403FCF #CF3F86 #CECF3F #3FCF88
square
#403FCF #CF3F86 #CECF3F #3FCF88
split-complementary
#403FCF #CF883F #86CF3F
monochromatic
#1E1E76 #2B2AA7 #403FCF #7170DB #A1A1E7

Accessibility & contrast

On white

7.42
#403FCF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#403FCF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403FCF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403FCF#FFFFFF#000000##FFFFFF
##403FCF1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#004FCC
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #403fcf;
/* rgb */ color: rgb(64, 63, 207);
/* oklch */ color: oklch(47.0% 0.214 274.7);
Tailwind
colors: {
  custom: {
    50: '#8875df',
    500: '#403fcf',
    950: '#000000',
  },
}
SCSS
$custom: #403fcf;
$custom-light: #8875df;
$custom-dark: #000000;
JSON
{
  "hex": "#403fcf",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 207
  },
  "hsl": {
    "h": 240.417,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.46983,
    "c": 0.21411,
    "h": 274.7
  },
  "luminance": 0.0915
}

Semantic roles & 50–950 ramp

primary
#403FCF
secondary
#D4D496
accent
#E345E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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