#3D2D8E#3D2D8E

#3D2D8E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.152 H 283.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#3D2D8E
RGBrgb(61, 45, 142)
HSLhsl(250, 52%, 37%)
HSVhsv(250, 68%, 56%)
CMYKcmyk(57%, 68.3%, 0%, 44.3%)
CIE-LABlab(26.22, 34.78, -51.46)
CIE-LCHlch(26.22, 62.11, 304.05°)
OKLaboklab(37.88% 0.0367 -0.1479)
OKLCHoklch(37.88% 0.152 283.9)
XYZxyz(7.7438, 4.8214, 26.1085)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D8E #7E8E2D
analogous
#2D4E8E #3D2D8E #6E2D8E
triadic
#3D2D8E #8E3D2D #2D8E3D
tetradic
#3D2D8E #8E2D4E #7E8E2D #2D8E6E
square
#3D2D8E #8E2D4E #7E8E2D #2D8E6E
split-complementary
#3D2D8E #8E6E2D #4E8E2D
monochromatic
#151031 #291E60 #3D2D8E #513CBC #7867CF

Accessibility & contrast

On white

10.69
#3D2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3D2D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D8E
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D8E#FFFFFF#000000##FFFFFF
##3D2D8E1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#164659
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d2d8e;
/* rgb */ color: rgb(61, 45, 142);
/* oklch */ color: oklch(37.9% 0.152 283.9);
Tailwind
colors: {
  custom: {
    50: '#7b67b0',
    500: '#3d2d8e',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d8e;
$custom-light: #7b67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d8e",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 249.897,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37883,
    "c": 0.15244,
    "h": 283.9
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#3D2D8E
secondary
#A8B561
accent
#DB4CC4
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3D2D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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