#403DC0#403DC0

#403DC0 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.3% C 0.198 H 276.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#403DC0
RGBrgb(64, 61, 192)
HSLhsl(241, 52%, 50%)
HSVhsv(241, 68%, 75%)
CMYKcmyk(66.7%, 68.2%, 0%, 24.7%)
CIE-LABlab(34.46, 42.04, -68.06)
CIE-LCHlch(34.46, 80.00, 301.70°)
OKLaboklab(45.26% 0.0208 -0.1965)
OKLCHoklch(45.26% 0.198 276)
XYZxyz(13.2944, 8.2321, 50.7473)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DC0 #BDC03D
analogous
#3D7CC0 #403DC0 #823DC0
triadic
#403DC0 #C0403D #3DC040
tetradic
#403DC0 #C03D7C #BDC03D #3DC082
square
#403DC0 #C03D7C #BDC03D #3DC082
split-complementary
#403DC0 #C0823D #7CC03D
monochromatic
#211F63 #312E92 #403DC0 #6D6AD0 #9A99DF

Accessibility & contrast

On white

7.93
#403DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#403DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403DC0
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DC0#FFFFFF#000000##FFFFFF
##403DC01.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#006079
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #403dc0;
/* rgb */ color: rgb(64, 61, 192);
/* oklch */ color: oklch(45.3% 0.198 276.0);
Tailwind
colors: {
  custom: {
    50: '#8573d4',
    500: '#403dc0',
    950: '#000000',
  },
}
SCSS
$custom: #403dc0;
$custom-light: #8573d4;
$custom-dark: #000000;
JSON
{
  "hex": "#403dc0",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 192
  },
  "hsl": {
    "h": 241.374,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45263,
    "c": 0.19761,
    "h": 276
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#403DC0
secondary
#C9CA8E
accent
#DB4DD8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #403DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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