#3D3AB5#3D3AB5

#3D3AB5 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.6% C 0.188 H 276.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#3D3AB5
RGBrgb(61, 58, 181)
HSLhsl(241, 51%, 47%)
HSVhsv(241, 68%, 71%)
CMYKcmyk(66.3%, 68%, 0%, 29%)
CIE-LABlab(32.60, 39.78, -64.64)
CIE-LCHlch(32.60, 75.90, 301.61°)
OKLaboklab(43.56% 0.0207 -0.1866)
OKLCHoklch(43.56% 0.188 276.3)
XYZxyz(11.7753, 7.3534, 44.5059)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3AB5 #B2B53A
analogous
#3A75B5 #3D3AB5 #7A3AB5
triadic
#3D3AB5 #B53D3A #3AB53D
tetradic
#3D3AB5 #B53A75 #B2B53A #3AB57A
square
#3D3AB5 #B53A75 #B2B53A #3AB57A
split-complementary
#3D3AB5 #B57A3A #75B53A
monochromatic
#1E1C58 #2D2B87 #3D3AB5 #6360CC #908EDB

Accessibility & contrast

On white

8.50
#3D3AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3D3AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3AB5
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3AB5#FFFFFF#000000##FFFFFF
##3D3AB51.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3d3ab5;
/* rgb */ color: rgb(61, 58, 181);
/* oklch */ color: oklch(43.6% 0.188 276.3);
Tailwind
colors: {
  custom: {
    50: '#8271cc',
    500: '#3d3ab5',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ab5;
$custom-light: #8271cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ab5",
  "rgb": {
    "r": 61,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 241.463,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43559,
    "c": 0.18771,
    "h": 276.3
  },
  "luminance": 0.07354
}

Semantic roles & 50–950 ramp

primary
#3D3AB5
secondary
#C4C685
accent
#DB4DD7
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3D3AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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