#3D3EB5#3D3EB5

#3D3EB5 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.2% C 0.183 H 275.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#3D3EB5
RGBrgb(61, 62, 181)
HSLhsl(240, 50%, 47%)
HSVhsv(240, 66%, 71%)
CMYKcmyk(66.3%, 65.7%, 0%, 29%)
CIE-LABlab(33.50, 37.35, -63.15)
CIE-LCHlch(33.50, 73.37, 300.60°)
OKLaboklab(44.22% 0.0177 -0.1822)
OKLCHoklch(44.22% 0.183 275.5)
XYZxyz(11.9848, 7.7725, 44.5758)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3EB5 #B5B43D
analogous
#3D7AB5 #3D3EB5 #783DB5
triadic
#3D3EB5 #B53D3E #3EB53D
tetradic
#3D3EB5 #B53D7A #B5B43D #3DB578
square
#3D3EB5 #B53D7A #B5B43D #3DB578
split-complementary
#3D3EB5 #B5783D #7AB53D
monochromatic
#1E1F59 #2E2E87 #3D3EB5 #6465CB #9293DA

Accessibility & contrast

On white

8.22
#3D3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3D3EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3EB5
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3EB5#FFFFFF#000000##FFFFFF
##3D3EB51.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3d3eb5;
/* rgb */ color: rgb(61, 62, 181);
/* oklch */ color: oklch(44.2% 0.183 275.5);
Tailwind
colors: {
  custom: {
    50: '#8174cc',
    500: '#3d3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #3d3eb5;
$custom-light: #8174cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3eb5",
  "rgb": {
    "r": 61,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 239.5,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44216,
    "c": 0.18307,
    "h": 275.5
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#3D3EB5
secondary
#C5C588
accent
#D84FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3D3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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