#3D3FD5#3D3FD5

#3D3FD5 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.4% C 0.222 H 273.4°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#3D3FD5
RGBrgb(61, 63, 213)
HSLhsl(239, 64%, 54%)
HSVhsv(239, 71%, 84%)
CMYKcmyk(71.4%, 70.4%, 0%, 16.5%)
CIE-LABlab(36.65, 47.45, -76.69)
CIE-LCHlch(36.65, 90.18, 301.75°)
OKLaboklab(47.38% 0.0131 -0.2218)
OKLCHoklch(47.38% 0.222 273.4)
XYZxyz(15.7082, 9.3496, 63.9147)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FD5 #D5D33D
analogous
#3D8BD5 #3D3FD5 #873DD5
triadic
#3D3FD5 #D53D3F #3FD53D
tetradic
#3D3FD5 #D53D8B #D5D33D #3DD587
square
#3D3FD5 #D53D8B #D5D33D #3DD587
split-complementary
#3D3FD5 #D5873D #8BD53D
monochromatic
#1B1C7D #2628AF #3D3FD5 #6F71E0 #A2A3EB

Accessibility & contrast

On white

7.32
#3D3FD5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3D3FD5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FD5
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FD5#FFFFFF#000000##FFFFFF
##3D3FD51.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD9
Deuteranopia (green-blind)
#004FD2
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d3fd5;
/* rgb */ color: rgb(61, 63, 213);
/* oklch */ color: oklch(47.4% 0.222 273.4);
Tailwind
colors: {
  custom: {
    50: '#8875e3',
    500: '#3d3fd5',
    950: '#000000',
  },
}
SCSS
$custom: #3d3fd5;
$custom-light: #8875e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3fd5",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 239.211,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.47378,
    "c": 0.22217,
    "h": 273.4
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D3FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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