#403DBB#403DBB

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

Color values

HEX#403DBB
RGBrgb(64, 61, 187)
HSLhsl(241, 51%, 49%)
HSVhsv(241, 67%, 73%)
CMYKcmyk(65.8%, 67.4%, 0%, 26.7%)
CIE-LABlab(34.01, 40.38, -65.86)
CIE-LCHlch(34.01, 77.25, 301.51°)
OKLaboklab(44.8% 0.0214 -0.1901)
OKLCHoklch(44.8% 0.191 276.4)
XYZxyz(12.7498, 8.0142, 47.8791)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DBB #B8BB3D
analogous
#3D79BB #403DBB #7F3DBB
triadic
#403DBB #BB403D #3DBB40
tetradic
#403DBB #BB3D79 #B8BB3D #3DBB7F
square
#403DBB #BB3D79 #B8BB3D #3DBB7F
split-complementary
#403DBB #BB7F3D #79BB3D
monochromatic
#201F5F #302E8D #403DBB #6A68CE #9796DD

Accessibility & contrast

On white

8.07
#403DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403DBB
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DBB#FFFFFF#000000##FFFFFF
##403DBB1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403dbb;
/* rgb */ color: rgb(64, 61, 187);
/* oklch */ color: oklch(44.8% 0.191 276.4);
Tailwind
colors: {
  custom: {
    50: '#8473d1',
    500: '#403dbb',
    950: '#000000',
  },
}
SCSS
$custom: #403dbb;
$custom-light: #8473d1;
$custom-dark: #000000;
JSON
{
  "hex": "#403dbb",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 241.429,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44801,
    "c": 0.19127,
    "h": 276.4
  },
  "luminance": 0.08015
}

Semantic roles & 50–950 ramp

primary
#403DBB
secondary
#C7C88C
accent
#DA4ED7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #403DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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