#3D2E97#3D2E97

#3D2E97 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.163 H 282.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#3D2E97
RGBrgb(61, 46, 151)
HSLhsl(249, 53%, 39%)
HSVhsv(249, 70%, 59%)
CMYKcmyk(59.6%, 69.5%, 0%, 40.8%)
CIE-LABlab(27.24, 37.08, -55.33)
CIE-LCHlch(27.24, 66.61, 303.83°)
OKLaboklab(38.87% 0.0345 -0.1593)
OKLCHoklch(38.87% 0.163 282.2)
XYZxyz(8.4856, 5.1799, 29.8248)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E97 #88972E
analogous
#2E5397 #3D2E97 #712E97
triadic
#3D2E97 #973D2E #2E973D
tetradic
#3D2E97 #972E53 #88972E #2E9771
square
#3D2E97 #972E53 #88972E #2E9771
split-complementary
#3D2E97 #97712E #53972E
monochromatic
#171139 #2A2068 #3D2E97 #513EC4 #7B6DD2

Accessibility & contrast

On white

10.31
#3D2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3D2E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2E97
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E97#FFFFFF#000000##FFFFFF
##3D2E971.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#04495E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d2e97;
/* rgb */ color: rgb(61, 46, 151);
/* oklch */ color: oklch(38.9% 0.163 282.2);
Tailwind
colors: {
  custom: {
    50: '#7d68b7',
    500: '#3d2e97',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e97;
$custom-light: #7d68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e97",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 248.571,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38866,
    "c": 0.163,
    "h": 282.2
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#3D2E97
secondary
#AEBA67
accent
#DD4BC8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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