#3D2F8D#3D2F8D

#3D2F8D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.149 H 283.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#3D2F8D
RGBrgb(61, 47, 141)
HSLhsl(249, 50%, 37%)
HSVhsv(249, 67%, 55%)
CMYKcmyk(56.7%, 66.7%, 0%, 44.7%)
CIE-LABlab(26.59, 33.23, -50.24)
CIE-LCHlch(26.59, 60.24, 303.48°)
OKLaboklab(38.12% 0.0349 -0.1444)
OKLCHoklch(38.12% 0.149 283.6)
XYZxyz(7.7472, 4.9478, 25.7409)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2F8D #7F8D2F
analogous
#2F508D #3D2F8D #6C2F8D
triadic
#3D2F8D #8D3D2F #2F8D3D
tetradic
#3D2F8D #8D2F50 #7F8D2F #2F8D6C
square
#3D2F8D #8D2F50 #7F8D2F #2F8D6C
split-complementary
#3D2F8D #8D6C2F #508D2F
monochromatic
#151031 #29205F #3D2F8D #513EBB #7869CD

Accessibility & contrast

On white

10.55
#3D2F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3D2F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2F8D
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2F8D#FFFFFF#000000##FFFFFF
##3D2F8D1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#174659
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d2f8d;
/* rgb */ color: rgb(61, 47, 141);
/* oklch */ color: oklch(38.1% 0.149 283.6);
Tailwind
colors: {
  custom: {
    50: '#7b68af',
    500: '#3d2f8d',
    950: '#000000',
  },
}
SCSS
$custom: #3d2f8d;
$custom-light: #7b68af;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2f8d",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 248.936,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38121,
    "c": 0.14854,
    "h": 283.6
  },
  "luminance": 0.04948
}

Semantic roles & 50–950 ramp

primary
#3D2F8D
secondary
#A8B464
accent
#DA4EC5
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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