#3D2FB5#3D2FB5

#3D2FB5 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.9% C 0.200 H 278.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#3D2FB5
RGBrgb(61, 47, 181)
HSLhsl(246, 59%, 45%)
HSVhsv(246, 74%, 71%)
CMYKcmyk(66.3%, 74%, 0%, 29%)
CIE-LABlab(30.30, 46.12, -68.41)
CIE-LCHlch(30.30, 82.50, 303.99°)
OKLaboklab(41.92% 0.028 -0.1976)
OKLCHoklch(41.92% 0.2 278.1)
XYZxyz(11.2788, 6.3604, 44.3404)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2FB5 #A7B52F
analogous
#2F64B5 #3D2FB5 #802FB5
triadic
#3D2FB5 #B53D2F #2FB53D
tetradic
#3D2FB5 #B52F64 #A7B52F #2FB580
square
#3D2FB5 #B52F64 #A7B52F #2FB580
split-complementary
#3D2FB5 #B5802F #64B52F
monochromatic
#1C1654 #2D2284 #3D2FB5 #5D50D1 #8A80DE

Accessibility & contrast

On white

9.24
#3D2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3D2FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2FB5
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2FB5#FFFFFF#000000##FFFFFF
##3D2FB51.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3d2fb5;
/* rgb */ color: rgb(61, 47, 181);
/* oklch */ color: oklch(41.9% 0.200 278.1);
Tailwind
colors: {
  custom: {
    50: '#836acc',
    500: '#3d2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #3d2fb5;
$custom-light: #836acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2fb5",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 246.269,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.19955,
    "h": 278.1
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#3D2FB5
secondary
#BFC779
accent
#E246D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3D2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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