#3D2E9B#3D2E9B

#3D2E9B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.168 H 281.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#3D2E9B
RGBrgb(61, 46, 155)
HSLhsl(248, 54%, 39%)
HSVhsv(248, 70%, 61%)
CMYKcmyk(60.6%, 70.3%, 0%, 39.2%)
CIE-LABlab(27.61, 38.38, -57.18)
CIE-LCHlch(27.61, 68.87, 303.87°)
OKLaboklab(39.24% 0.0338 -0.1647)
OKLCHoklch(39.24% 0.168 281.6)
XYZxyz(8.8160, 5.3120, 31.5648)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E9B #8C9B2E
analogous
#2E569B #3D2E9B #742E9B
triadic
#3D2E9B #9B3D2E #2E9B3D
tetradic
#3D2E9B #9B2E56 #8C9B2E #2E9B74
square
#3D2E9B #9B2E56 #8C9B2E #2E9B74
split-complementary
#3D2E9B #9B742E #569B2E
monochromatic
#18123D #2A206C #3D2E9B #5240C6 #7D6FD4

Accessibility & contrast

On white

10.18
#3D2E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3D2E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2E9B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E9B#FFFFFF#000000##FFFFFF
##3D2E9B1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d2e9b;
/* rgb */ color: rgb(61, 46, 155);
/* oklch */ color: oklch(39.2% 0.168 281.6);
Tailwind
colors: {
  custom: {
    50: '#7e68b9',
    500: '#3d2e9b',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e9b;
$custom-light: #7e68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e9b",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 248.257,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3924,
    "c": 0.16817,
    "h": 281.6
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#3D2E9B
secondary
#B0BC69
accent
#DE4AC9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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