#3D3ED4#3D3ED4

#3D3ED4 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.1% C 0.222 H 273.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#3D3ED4
RGBrgb(61, 62, 212)
HSLhsl(240, 64%, 54%)
HSVhsv(240, 71%, 83%)
CMYKcmyk(71.2%, 70.8%, 0%, 16.9%)
CIE-LABlab(36.35, 47.70, -76.61)
CIE-LCHlch(36.35, 90.24, 301.91°)
OKLaboklab(47.13% 0.0138 -0.2215)
OKLCHoklch(47.13% 0.222 273.6)
XYZxyz(15.5268, 9.1893, 63.2300)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3ED4 #D4D33D
analogous
#3D89D4 #3D3ED4 #873DD4
triadic
#3D3ED4 #D43D3E #3ED43D
tetradic
#3D3ED4 #D43D89 #D4D33D #3DD487
square
#3D3ED4 #D43D89 #D4D33D #3DD487
split-complementary
#3D3ED4 #D4873D #89D43D
monochromatic
#1B1C7B #2627AD #3D3ED4 #6F70DF #A1A2EA

Accessibility & contrast

On white

7.40
#3D3ED4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3D3ED4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3ED4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3ED4#FFFFFF#000000##FFFFFF
##3D3ED41.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD8
Deuteranopia (green-blind)
#004ED1
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3d3ed4;
/* rgb */ color: rgb(61, 62, 212);
/* oklch */ color: oklch(47.1% 0.222 273.6);
Tailwind
colors: {
  custom: {
    50: '#8875e3',
    500: '#3d3ed4',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ed4;
$custom-light: #8875e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ed4",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 212
  },
  "hsl": {
    "h": 239.603,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47132,
    "c": 0.22198,
    "h": 273.6
  },
  "luminance": 0.09191
}

Semantic roles & 50–950 ramp

primary
#3D3ED4
secondary
#D7D696
accent
#E641E7
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3D3ED4

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

Preview Lab → · Contrast checker → · Palette generator →

#3D3ED4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva