#3D2EB2#3D2EB2

#3D2EB2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.5% C 0.197 H 278.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#3D2EB2
RGBrgb(61, 46, 178)
HSLhsl(247, 59%, 44%)
HSVhsv(247, 74%, 70%)
CMYKcmyk(65.7%, 74.2%, 0%, 30.2%)
CIE-LABlab(29.81, 45.72, -67.43)
CIE-LCHlch(29.81, 81.47, 304.14°)
OKLaboklab(41.48% 0.0293 -0.1947)
OKLCHoklch(41.48% 0.197 278.6)
XYZxyz(10.9348, 6.1595, 42.7235)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2EB2 #A3B22E
analogous
#2E61B2 #3D2EB2 #7F2EB2
triadic
#3D2EB2 #B23D2E #2EB23D
tetradic
#3D2EB2 #B22E61 #A3B22E #2EB27F
square
#3D2EB2 #B22E61 #A3B22E #2EB27F
split-complementary
#3D2EB2 #B27F2E #61B22E
monochromatic
#1C1551 #2C2181 #3D2EB2 #5B4CD1 #887DDD

Accessibility & contrast

On white

9.41
#3D2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3D2EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2EB2
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2EB2#FFFFFF#000000##FFFFFF
##3D2EB21.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3d2eb2;
/* rgb */ color: rgb(61, 46, 178);
/* oklch */ color: oklch(41.5% 0.197 278.6);
Tailwind
colors: {
  custom: {
    50: '#8269ca',
    500: '#3d2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #3d2eb2;
$custom-light: #8269ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2eb2",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 246.818,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4148,
    "c": 0.1969,
    "h": 278.6
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#3D2EB2
secondary
#BDC676
accent
#E246D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D2EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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