#3D2E91#3D2E91

#3D2E91 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.155 H 283.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#3D2E91
RGBrgb(61, 46, 145)
HSLhsl(249, 52%, 37%)
HSVhsv(249, 68%, 57%)
CMYKcmyk(57.9%, 68.3%, 0%, 43.1%)
CIE-LABlab(26.71, 35.14, -52.52)
CIE-LCHlch(26.71, 63.19, 303.79°)
OKLaboklab(38.32% 0.0354 -0.1511)
OKLCHoklch(38.32% 0.155 283.2)
XYZxyz(8.0107, 4.9899, 27.3236)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E91 #82912E
analogous
#2E5191 #3D2E91 #6F2E91
triadic
#3D2E91 #913D2E #2E913D
tetradic
#3D2E91 #912E51 #82912E #2E916F
square
#3D2E91 #912E51 #82912E #2E916F
split-complementary
#3D2E91 #916F2E #51912E
monochromatic
#161134 #291F63 #3D2E91 #513DBF #796AD0

Accessibility & contrast

On white

10.51
#3D2E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3D2E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2E91
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E91#FFFFFF#000000##FFFFFF
##3D2E911.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#12475B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d2e91;
/* rgb */ color: rgb(61, 46, 145);
/* oklch */ color: oklch(38.3% 0.155 283.2);
Tailwind
colors: {
  custom: {
    50: '#7c68b2',
    500: '#3d2e91',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e91;
$custom-light: #7c68b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e91",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 249.091,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38316,
    "c": 0.15514,
    "h": 283.2
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#3D2E91
secondary
#AAB764
accent
#DB4DC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3D2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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