#3D2E8D#3D2E8D

#3D2E8D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.150 H 283.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#3D2E8D
RGBrgb(61, 46, 141)
HSLhsl(249, 51%, 37%)
HSVhsv(249, 67%, 55%)
CMYKcmyk(56.7%, 67.4%, 0%, 44.7%)
CIE-LABlab(26.36, 33.85, -50.62)
CIE-LCHlch(26.36, 60.89, 303.77°)
OKLaboklab(37.96% 0.0359 -0.1455)
OKLCHoklch(37.96% 0.15 283.9)
XYZxyz(7.7077, 4.8687, 25.7277)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E8D #7E8D2E
analogous
#2E4F8D #3D2E8D #6D2E8D
triadic
#3D2E8D #8D3D2E #2E8D3D
tetradic
#3D2E8D #8D2E4F #7E8D2E #2E8D6D
square
#3D2E8D #8D2E4F #7E8D2E #2E8D6D
split-complementary
#3D2E8D #8D6D2E #4F8D2E
monochromatic
#151031 #291F5F #3D2E8D #513DBB #7868CE

Accessibility & contrast

On white

10.64
#3D2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3D2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2E8D
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E8D#FFFFFF#000000##FFFFFF
##3D2E8D1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#184659
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d2e8d;
/* rgb */ color: rgb(61, 46, 141);
/* oklch */ color: oklch(38.0% 0.150 283.9);
Tailwind
colors: {
  custom: {
    50: '#7b68af',
    500: '#3d2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e8d;
$custom-light: #7b68af;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e8d",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 249.474,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37956,
    "c": 0.14983,
    "h": 283.9
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#3D2E8D
secondary
#A8B562
accent
#DA4EC4
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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