#3D2E99#3D2E99

#3D2E99 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.166 H 281.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#3D2E99
RGBrgb(61, 46, 153)
HSLhsl(248, 54%, 39%)
HSVhsv(248, 70%, 60%)
CMYKcmyk(60.1%, 69.9%, 0%, 40%)
CIE-LABlab(27.42, 37.73, -56.26)
CIE-LCHlch(27.42, 67.74, 303.85°)
OKLaboklab(39.05% 0.0341 -0.162)
OKLCHoklch(39.05% 0.166 281.9)
XYZxyz(8.6494, 5.2454, 30.6875)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E99 #8A992E
analogous
#2E5599 #3D2E99 #732E99
triadic
#3D2E99 #993D2E #2E993D
tetradic
#3D2E99 #992E55 #8A992E #2E9973
square
#3D2E99 #992E55 #8A992E #2E9973
split-complementary
#3D2E99 #99732E #55992E
monochromatic
#17123B #2A206A #3D2E99 #523FC5 #7C6ED3

Accessibility & contrast

On white

10.25
#3D2E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3D2E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2E99
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E99#FFFFFF#000000##FFFFFF
##3D2E991.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d2e99;
/* rgb */ color: rgb(61, 46, 153);
/* oklch */ color: oklch(39.1% 0.166 281.9);
Tailwind
colors: {
  custom: {
    50: '#7d68b8',
    500: '#3d2e99',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e99;
$custom-light: #7d68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e99",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 248.411,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39052,
    "c": 0.1656,
    "h": 281.9
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#3D2E99
secondary
#AFBB68
accent
#DD4BC9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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