#403CBD#403CBD

#403CBD is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.8% C 0.195 H 276.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#403CBD
RGBrgb(64, 60, 189)
HSLhsl(242, 52%, 49%)
HSVhsv(242, 68%, 74%)
CMYKcmyk(66.1%, 68.3%, 0%, 25.9%)
CIE-LABlab(33.97, 41.64, -67.10)
CIE-LCHlch(33.97, 78.97, 301.82°)
OKLaboklab(44.83% 0.0219 -0.1937)
OKLCHoklch(44.83% 0.195 276.5)
XYZxyz(12.9125, 7.9947, 48.9969)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CBD #B9BD3C
analogous
#3C79BD #403CBD #813CBD
triadic
#403CBD #BD403C #3CBD40
tetradic
#403CBD #BD3C79 #B9BD3C #3CBD81
square
#403CBD #BD3C79 #B9BD3C #3CBD81
split-complementary
#403CBD #BD813C #79BD3C
monochromatic
#211F60 #302D8F #403CBD #6B67CF #9896DE

Accessibility & contrast

On white

8.08
#403CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#403CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CBD
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CBD#FFFFFF#000000##FFFFFF
##403CBD1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#004ABB
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #403cbd;
/* rgb */ color: rgb(64, 60, 189);
/* oklch */ color: oklch(44.8% 0.195 276.5);
Tailwind
colors: {
  custom: {
    50: '#8473d2',
    500: '#403cbd',
    950: '#000000',
  },
}
SCSS
$custom: #403cbd;
$custom-light: #8473d2;
$custom-dark: #000000;
JSON
{
  "hex": "#403cbd",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 241.86,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44827,
    "c": 0.19495,
    "h": 276.5
  },
  "luminance": 0.07996
}

Semantic roles & 50–950 ramp

primary
#403CBD
secondary
#C7C98C
accent
#DB4DD7
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #403CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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