#403CBA#403CBA

#403CBA is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.5% C 0.191 H 276.7°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#403CBA
RGBrgb(64, 60, 186)
HSLhsl(242, 51%, 48%)
HSVhsv(242, 68%, 73%)
CMYKcmyk(65.6%, 67.7%, 0%, 27.1%)
CIE-LABlab(33.70, 40.65, -65.78)
CIE-LCHlch(33.70, 77.32, 301.71°)
OKLaboklab(44.55% 0.0223 -0.1898)
OKLCHoklch(44.55% 0.191 276.7)
XYZxyz(12.5902, 7.8658, 47.2996)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CBA #B6BA3C
analogous
#3C77BA #403CBA #7F3CBA
triadic
#403CBA #BA403C #3CBA40
tetradic
#403CBA #BA3C77 #B6BA3C #3CBA7F
square
#403CBA #BA3C77 #B6BA3C #3CBA7F
split-complementary
#403CBA #BA7F3C #77BA3C
monochromatic
#201E5D #302D8C #403CBA #6966CE #9694DC

Accessibility & contrast

On white

8.16
#403CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#403CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CBA
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CBA#FFFFFF#000000##FFFFFF
##403CBA1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #403cba;
/* rgb */ color: rgb(64, 60, 186);
/* oklch */ color: oklch(44.5% 0.191 276.7);
Tailwind
colors: {
  custom: {
    50: '#8473d0',
    500: '#403cba',
    950: '#000000',
  },
}
SCSS
$custom: #403cba;
$custom-light: #8473d0;
$custom-dark: #000000;
JSON
{
  "hex": "#403cba",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 241.905,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44549,
    "c": 0.19114,
    "h": 276.7
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#403CBA
secondary
#C6C88A
accent
#DB4DD6
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #403CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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