#3D3AB3#3D3AB3

#3D3AB3 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.185 H 276.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3D3AB3
RGBrgb(61, 58, 179)
HSLhsl(241, 51%, 46%)
HSVhsv(241, 68%, 70%)
CMYKcmyk(65.9%, 67.6%, 0%, 29.8%)
CIE-LABlab(32.42, 39.11, -63.75)
CIE-LCHlch(32.42, 74.79, 301.53°)
OKLaboklab(43.37% 0.0209 -0.184)
OKLCHoklch(43.37% 0.185 276.5)
XYZxyz(11.5716, 7.2719, 43.4329)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3AB3 #B0B33A
analogous
#3A74B3 #3D3AB3 #7A3AB3
triadic
#3D3AB3 #B33D3A #3AB33D
tetradic
#3D3AB3 #B33A74 #B0B33A #3AB37A
square
#3D3AB3 #B33A74 #B0B33A #3AB37A
split-complementary
#3D3AB3 #B37A3A #74B33A
monochromatic
#1D1C57 #2D2B85 #3D3AB3 #625FCB #8F8DDA

Accessibility & contrast

On white

8.56
#3D3AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3D3AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3AB3
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3AB3#FFFFFF#000000##FFFFFF
##3D3AB31.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d3ab3;
/* rgb */ color: rgb(61, 58, 179);
/* oklch */ color: oklch(43.4% 0.185 276.5);
Tailwind
colors: {
  custom: {
    50: '#8171cb',
    500: '#3d3ab3',
    950: '#000000',
  },
}
SCSS
$custom: #3d3ab3;
$custom-light: #8171cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3ab3",
  "rgb": {
    "r": 61,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 241.488,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43374,
    "c": 0.18514,
    "h": 276.5
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#3D3AB3
secondary
#C3C584
accent
#DB4DD7
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3D3AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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