#3D2E98#3D2E98

#3D2E98 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.164 H 282.0°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#3D2E98
RGBrgb(61, 46, 152)
HSLhsl(248, 54%, 39%)
HSVhsv(248, 70%, 60%)
CMYKcmyk(59.9%, 69.7%, 0%, 40.4%)
CIE-LABlab(27.33, 37.41, -55.80)
CIE-LCHlch(27.33, 67.18, 303.84°)
OKLaboklab(38.96% 0.0343 -0.1607)
OKLCHoklch(38.96% 0.164 282)
XYZxyz(8.5672, 5.2125, 30.2543)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E98 #89982E
analogous
#2E5498 #3D2E98 #722E98
triadic
#3D2E98 #983D2E #2E983D
tetradic
#3D2E98 #982E54 #89982E #2E9872
square
#3D2E98 #982E54 #89982E #2E9872
split-complementary
#3D2E98 #98722E #54982E
monochromatic
#17123A #2A2069 #3D2E98 #513EC5 #7C6DD3

Accessibility & contrast

On white

10.28
#3D2E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2E98
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E98#FFFFFF#000000##FFFFFF
##3D2E981.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#014A5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d2e98;
/* rgb */ color: rgb(61, 46, 152);
/* oklch */ color: oklch(39.0% 0.164 282.0);
Tailwind
colors: {
  custom: {
    50: '#7d68b7',
    500: '#3d2e98',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e98;
$custom-light: #7d68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e98",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 248.491,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38959,
    "c": 0.1643,
    "h": 282
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D2E98

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

Preview Lab → · Contrast checker → · Palette generator →

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