#3D3FB5#3D3FB5

#3D3FB5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.4% C 0.182 H 275.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#3D3FB5
RGBrgb(61, 63, 181)
HSLhsl(239, 50%, 47%)
HSVhsv(239, 66%, 71%)
CMYKcmyk(66.3%, 65.2%, 0%, 29%)
CIE-LABlab(33.74, 36.73, -62.77)
CIE-LCHlch(33.74, 72.73, 300.33°)
OKLaboklab(44.39% 0.0169 -0.1811)
OKLCHoklch(44.39% 0.182 275.3)
XYZxyz(12.0397, 7.8823, 44.5941)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3FB5 #B5B33D
analogous
#3D7BB5 #3D3FB5 #773DB5
triadic
#3D3FB5 #B53D3F #3FB53D
tetradic
#3D3FB5 #B53D7B #B5B33D #3DB577
square
#3D3FB5 #B53D7B #B5B33D #3DB577
split-complementary
#3D3FB5 #B5773D #7BB53D
monochromatic
#1E1F59 #2E2F87 #3D3FB5 #6466CB #9293DA

Accessibility & contrast

On white

8.15
#3D3FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3D3FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3FB5
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3FB5#FFFFFF#000000##FFFFFF
##3D3FB51.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3d3fb5;
/* rgb */ color: rgb(61, 63, 181);
/* oklch */ color: oklch(44.4% 0.182 275.3);
Tailwind
colors: {
  custom: {
    50: '#8174cc',
    500: '#3d3fb5',
    950: '#000000',
  },
}
SCSS
$custom: #3d3fb5;
$custom-light: #8174cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3fb5",
  "rgb": {
    "r": 61,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 239,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44385,
    "c": 0.18189,
    "h": 275.3
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#3D3FB5
secondary
#C5C488
accent
#D74FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3D3FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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