#403CCF#403CCF

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

Color values

HEX#403CCF
RGBrgb(64, 60, 207)
HSLhsl(242, 60%, 52%)
HSVhsv(242, 71%, 81%)
CMYKcmyk(69.1%, 71%, 0%, 18.8%)
CIE-LABlab(35.65, 47.52, -74.86)
CIE-LCHlch(35.65, 88.67, 302.41°)
OKLaboklab(46.54% 0.0192 -0.2164)
OKLCHoklch(46.54% 0.217 275.1)
XYZxyz(14.9890, 8.8253, 59.9329)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CCF #CBCF3C
analogous
#3C81CF #403CCF #8A3CCF
triadic
#403CCF #CF403C #3CCF40
tetradic
#403CCF #CF3C81 #CBCF3C #3CCF8A
square
#403CCF #CF3C81 #CBCF3C #3CCF8A
split-complementary
#403CCF #CF8A3C #81CF3C
monochromatic
#1F1D74 #2C29A5 #403CCF #706DDB #A09EE7

Accessibility & contrast

On white

7.59
#403CCF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#403CCF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CCF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CCF#FFFFFF#000000##FFFFFF
##403CCF1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD3
Deuteranopia (green-blind)
#004DCC
Tritanopia (blue-blind)
#006581
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #403ccf;
/* rgb */ color: rgb(64, 60, 207);
/* oklch */ color: oklch(46.5% 0.217 275.1);
Tailwind
colors: {
  custom: {
    50: '#8873df',
    500: '#403ccf',
    950: '#000000',
  },
}
SCSS
$custom: #403ccf;
$custom-light: #8873df;
$custom-dark: #000000;
JSON
{
  "hex": "#403ccf",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 241.633,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.46536,
    "c": 0.21723,
    "h": 275.1
  },
  "luminance": 0.08827
}

Semantic roles & 50–950 ramp

primary
#403CCF
secondary
#D2D393
accent
#E444DF
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #403CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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