#403DE0#403DE0

#403DE0 is a mid, highly saturated blue. Relative luminance 0.098; OKLCH L 48.3% C 0.237 H 273.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#403DE0
RGBrgb(64, 61, 224)
HSLhsl(241, 72%, 56%)
HSVhsv(241, 73%, 88%)
CMYKcmyk(71.4%, 72.8%, 0%, 12.2%)
CIE-LABlab(37.49, 52.41, -81.60)
CIE-LCHlch(37.49, 96.98, 302.71°)
OKLaboklab(48.35% 0.0159 -0.236)
OKLCHoklch(48.35% 0.237 273.8)
XYZxyz(17.2332, 9.8076, 71.4914)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403DE0 #DDE03D
analogous
#3D8BE0 #403DE0 #913DE0
triadic
#403DE0 #E0403D #3DE040
tetradic
#403DE0 #E03D8B #DDE03D #3DE091
square
#403DE0 #E03D8B #DDE03D #3DE091
split-complementary
#403DE0 #E0913D #8BE03D
monochromatic
#19168C #221FC1 #403DE0 #7472E8 #A8A7F1

Accessibility & contrast

On white

7.09
#403DE0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#403DE0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403DE0
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403DE0#FFFFFF#000000##FFFFFF
##403DE01.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E5
Deuteranopia (green-blind)
#0050DD
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #403de0;
/* rgb */ color: rgb(64, 61, 224);
/* oklch */ color: oklch(48.3% 0.237 273.8);
Tailwind
colors: {
  custom: {
    50: '#8c75eb',
    500: '#403de0',
    950: '#000000',
  },
}
SCSS
$custom: #403de0;
$custom-light: #8c75eb;
$custom-dark: #000000;
JSON
{
  "hex": "#403de0",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 224
  },
  "hsl": {
    "h": 241.104,
    "s": 72.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.48349,
    "c": 0.23656,
    "h": 273.8
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#403DE0
secondary
#DDDE9B
accent
#EF39EC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #403DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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