#3D2B98#3D2B98

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

Color values

HEX#3D2B98
RGBrgb(61, 43, 152)
HSLhsl(250, 56%, 38%)
HSVhsv(250, 72%, 60%)
CMYKcmyk(59.9%, 71.7%, 0%, 40.4%)
CIE-LABlab(26.70, 39.16, -56.84)
CIE-LCHlch(26.70, 69.02, 304.56°)
OKLaboklab(38.5% 0.0368 -0.1637)
OKLCHoklch(38.5% 0.168 282.7)
XYZxyz(8.4541, 4.9863, 30.2166)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2B98 #86982B
analogous
#2B4F98 #3D2B98 #732B98
triadic
#3D2B98 #983D2B #2B983D
tetradic
#3D2B98 #982B4F #86982B #2B9873
square
#3D2B98 #982B4F #86982B #2B9873
split-complementary
#3D2B98 #98732B #4F982B
monochromatic
#171039 #2A1E68 #3D2B98 #5139C7 #7B69D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D2B98#FFFFFF#000000##FFFFFF
##3D2B981.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)
#00439B
Deuteranopia (green-blind)
#003B96
Tritanopia (blue-blind)
#02485E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d2b98;
/* rgb */ color: rgb(61, 43, 152);
/* oklch */ color: oklch(38.5% 0.168 282.7);
Tailwind
colors: {
  custom: {
    50: '#7d66b7',
    500: '#3d2b98',
    950: '#000000',
  },
}
SCSS
$custom: #3d2b98;
$custom-light: #7d66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2b98",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 249.908,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38504,
    "c": 0.16782,
    "h": 282.7
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#3D2B98
secondary
#ADBB64
accent
#DF49C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D2B98

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

Preview Lab → · Contrast checker → · Palette generator →

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