#3D2E9D#3D2E9D

#3D2E9D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.171 H 281.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#3D2E9D
RGBrgb(61, 46, 157)
HSLhsl(248, 55%, 40%)
HSVhsv(248, 71%, 62%)
CMYKcmyk(61.1%, 70.7%, 0%, 38.4%)
CIE-LABlab(27.79, 39.02, -58.10)
CIE-LCHlch(27.79, 69.99, 303.89°)
OKLaboklab(39.43% 0.0335 -0.1674)
OKLCHoklch(39.43% 0.171 281.3)
XYZxyz(8.9854, 5.3798, 32.4567)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E9D #8E9D2E
analogous
#2E579D #3D2E9D #752E9D
triadic
#3D2E9D #9D3D2E #2E9D3D
tetradic
#3D2E9D #9D2E57 #8E9D2E #2E9D75
square
#3D2E9D #9D2E57 #8E9D2E #2E9D75
split-complementary
#3D2E9D #9D752E #579D2E
monochromatic
#18123E #2B206E #3D2E9D #5341C7 #7E70D5

Accessibility & contrast

On white

10.12
#3D2E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3D2E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2E9D
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E9D#FFFFFF#000000##FFFFFF
##3D2E9D1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d2e9d;
/* rgb */ color: rgb(61, 46, 157);
/* oklch */ color: oklch(39.4% 0.171 281.3);
Tailwind
colors: {
  custom: {
    50: '#7e68bb',
    500: '#3d2e9d',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e9d;
$custom-light: #7e68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e9d",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 248.108,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39429,
    "c": 0.17074,
    "h": 281.3
  },
  "luminance": 0.0538
}

Semantic roles & 50–950 ramp

primary
#3D2E9D
secondary
#B1BD6A
accent
#DE4ACA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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