#403CBE#403CBE

#403CBE is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.9% C 0.196 H 276.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#403CBE
RGBrgb(64, 60, 190)
HSLhsl(242, 52%, 49%)
HSVhsv(242, 68%, 75%)
CMYKcmyk(66.3%, 68.4%, 0%, 25.5%)
CIE-LABlab(34.06, 41.97, -67.54)
CIE-LCHlch(34.06, 79.52, 301.86°)
OKLaboklab(44.92% 0.0218 -0.195)
OKLCHoklch(44.92% 0.196 276.4)
XYZxyz(13.0214, 8.0383, 49.5705)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CBE #BABE3C
analogous
#3C79BE #403CBE #813CBE
triadic
#403CBE #BE403C #3CBE40
tetradic
#403CBE #BE3C79 #BABE3C #3CBE81
square
#403CBE #BE3C79 #BABE3C #3CBE81
split-complementary
#403CBE #BE813C #79BE3C
monochromatic
#211F61 #302D8F #403CBE #6B68CF #9996DE

Accessibility & contrast

On white

8.05
#403CBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#403CBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CBE
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CBE#FFFFFF#000000##FFFFFF
##403CBE1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#004ABC
Tritanopia (blue-blind)
#005F78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #403cbe;
/* rgb */ color: rgb(64, 60, 190);
/* oklch */ color: oklch(44.9% 0.196 276.4);
Tailwind
colors: {
  custom: {
    50: '#8573d3',
    500: '#403cbe',
    950: '#000000',
  },
}
SCSS
$custom: #403cbe;
$custom-light: #8573d3;
$custom-dark: #000000;
JSON
{
  "hex": "#403cbe",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 241.846,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4492,
    "c": 0.1962,
    "h": 276.4
  },
  "luminance": 0.08039
}

Semantic roles & 50–950 ramp

primary
#403CBE
secondary
#C8CA8C
accent
#DB4CD7
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #403CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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