#403DC4#403DC4

#403DC4 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.6% C 0.203 H 275.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#403DC4
RGBrgb(64, 61, 196)
HSLhsl(241, 53%, 50%)
HSVhsv(241, 69%, 77%)
CMYKcmyk(67.3%, 68.9%, 0%, 23.1%)
CIE-LABlab(34.83, 43.36, -69.81)
CIE-LCHlch(34.83, 82.18, 301.84°)
OKLaboklab(45.64% 0.0203 -0.2016)
OKLCHoklch(45.64% 0.203 275.7)
XYZxyz(13.7436, 8.4118, 53.1132)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DC4 #C1C43D
analogous
#3D7EC4 #403DC4 #833DC4
triadic
#403DC4 #C4403D #3DC440
tetradic
#403DC4 #C43D7E #C1C43D #3DC483
square
#403DC4 #C43D7E #C1C43D #3DC483
split-complementary
#403DC4 #C4833D #7EC43D
monochromatic
#211F67 #302E96 #403DC4 #6E6CD2 #9C9BE1

Accessibility & contrast

On white

7.83
#403DC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#403DC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403DC4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DC4#FFFFFF#000000##FFFFFF
##403DC41.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#004CC1
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #403dc4;
/* rgb */ color: rgb(64, 61, 196);
/* oklch */ color: oklch(45.6% 0.203 275.7);
Tailwind
colors: {
  custom: {
    50: '#8673d7',
    500: '#403dc4',
    950: '#000000',
  },
}
SCSS
$custom: #403dc4;
$custom-light: #8673d7;
$custom-dark: #000000;
JSON
{
  "hex": "#403dc4",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 241.333,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45637,
    "c": 0.20264,
    "h": 275.7
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#403DC4
secondary
#CBCD90
accent
#DD4BDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #403DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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