#3D2F8B#3D2F8B

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

Color values

HEX#3D2F8B
RGBrgb(61, 47, 139)
HSLhsl(249, 49%, 36%)
HSVhsv(249, 66%, 55%)
CMYKcmyk(56.1%, 66.2%, 0%, 45.5%)
CIE-LABlab(26.42, 32.58, -49.28)
CIE-LCHlch(26.42, 59.08, 303.47°)
OKLaboklab(37.95% 0.0352 -0.1415)
OKLCHoklch(37.95% 0.146 283.9)
XYZxyz(7.5998, 4.8888, 24.9643)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2F8B #7D8B2F
analogous
#2F4F8B #3D2F8B #6B2F8B
triadic
#3D2F8B #8B3D2F #2F8B3D
tetradic
#3D2F8B #8B2F4F #7D8B2F #2F8B6B
square
#3D2F8B #8B2F4F #7D8B2F #2F8B6B
split-complementary
#3D2F8B #8B6B2F #4F8B2F
monochromatic
#151030 #29205D #3D2F8B #513EB9 #7868CC

Accessibility & contrast

On white

10.62
#3D2F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3D2F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2F8B
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2F8B#FFFFFF#000000##FFFFFF
##3D2F8B1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#1A4658
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d2f8b;
/* rgb */ color: rgb(61, 47, 139);
/* oklch */ color: oklch(37.9% 0.146 283.9);
Tailwind
colors: {
  custom: {
    50: '#7b68ae',
    500: '#3d2f8b',
    950: '#000000',
  },
}
SCSS
$custom: #3d2f8b;
$custom-light: #7b68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2f8b",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 249.13,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37945,
    "c": 0.14585,
    "h": 283.9
  },
  "luminance": 0.04889
}

Semantic roles & 50–950 ramp

primary
#3D2F8B
secondary
#A7B363
accent
#D94FC4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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