#403DBC#403DBC

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

Color values

HEX#403DBC
RGBrgb(64, 61, 188)
HSLhsl(241, 51%, 49%)
HSVhsv(241, 68%, 74%)
CMYKcmyk(66%, 67.6%, 0%, 26.3%)
CIE-LABlab(34.10, 40.71, -66.30)
CIE-LCHlch(34.10, 77.80, 301.55°)
OKLaboklab(44.89% 0.0213 -0.1914)
OKLCHoklch(44.89% 0.193 276.4)
XYZxyz(12.8572, 8.0572, 48.4448)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DBC #B9BC3D
analogous
#3D7ABC #403DBC #803DBC
triadic
#403DBC #BC403D #3DBC40
tetradic
#403DBC #BC3D7A #B9BC3D #3DBC80
square
#403DBC #BC3D7A #B9BC3D #3DBC80
split-complementary
#403DBC #BC803D #7ABC3D
monochromatic
#211F60 #302E8E #403DBC #6B68CE #9896DD

Accessibility & contrast

On white

8.04
#403DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403DBC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DBC#FFFFFF#000000##FFFFFF
##403DBC1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #403dbc;
/* rgb */ color: rgb(64, 61, 188);
/* oklch */ color: oklch(44.9% 0.193 276.4);
Tailwind
colors: {
  custom: {
    50: '#8473d1',
    500: '#403dbc',
    950: '#000000',
  },
}
SCSS
$custom: #403dbc;
$custom-light: #8473d1;
$custom-dark: #000000;
JSON
{
  "hex": "#403dbc",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 188
  },
  "hsl": {
    "h": 241.417,
    "s": 51.004,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44893,
    "c": 0.19254,
    "h": 276.4
  },
  "luminance": 0.08058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #403DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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