#3D3ED5#3D3ED5

#3D3ED5 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.2% C 0.223 H 273.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#3D3ED5
RGBrgb(61, 62, 213)
HSLhsl(240, 64%, 54%)
HSVhsv(240, 71%, 84%)
CMYKcmyk(71.4%, 70.9%, 0%, 16.5%)
CIE-LABlab(36.44, 48.02, -77.03)
CIE-LCHlch(36.44, 90.77, 301.94°)
OKLaboklab(47.23% 0.0137 -0.2228)
OKLCHoklch(47.23% 0.223 273.5)
XYZxyz(15.6533, 9.2399, 63.8964)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3ED5 #D5D43D
analogous
#3D8AD5 #3D3ED5 #883DD5
triadic
#3D3ED5 #D53D3E #3ED53D
tetradic
#3D3ED5 #D53D8A #D5D43D #3DD588
square
#3D3ED5 #D53D8A #D5D43D #3DD588
split-complementary
#3D3ED5 #D5883D #8AD53D
monochromatic
#1B1C7D #2627AF #3D3ED5 #6F70E0 #A2A2EB

Accessibility & contrast

On white

7.37
#3D3ED5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3D3ED5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3ED5
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3ED5#FFFFFF#000000##FFFFFF
##3D3ED51.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDA
Deuteranopia (green-blind)
#004ED2
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d3ed5;
/* rgb */ color: rgb(61, 62, 213);
/* oklch */ color: oklch(47.2% 0.223 273.5);
Tailwind
colors: {
  custom: {
    50: '#8875e3',
    500: '#3d3ed5',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ed5;
$custom-light: #8875e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ed5",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 239.605,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.4723,
    "c": 0.22319,
    "h": 273.5
  },
  "luminance": 0.09241
}

Semantic roles & 50–950 ramp

primary
#3D3ED5
secondary
#D7D796
accent
#E640E7
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3D3ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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