#3D2EA1#3D2EA1

#3D2EA1 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.176 H 280.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#3D2EA1
RGBrgb(61, 46, 161)
HSLhsl(248, 56%, 41%)
HSVhsv(248, 71%, 63%)
CMYKcmyk(62.1%, 71.4%, 0%, 36.9%)
CIE-LABlab(28.16, 40.31, -59.92)
CIE-LCHlch(28.16, 72.22, 303.93°)
OKLaboklab(39.81% 0.0327 -0.1727)
OKLCHoklch(39.81% 0.176 280.7)
XYZxyz(9.3325, 5.5186, 34.2847)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2EA1 #92A12E
analogous
#2E58A1 #3D2EA1 #762EA1
triadic
#3D2EA1 #A13D2E #2EA13D
tetradic
#3D2EA1 #A12E58 #92A12E #2EA176
square
#3D2EA1 #A12E58 #92A12E #2EA176
split-complementary
#3D2EA1 #A1762E #58A12E
monochromatic
#191342 #2B2071 #3D2EA1 #5443C9 #8073D7

Accessibility & contrast

On white

9.98
#3D2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3D2EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2EA1
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2EA1#FFFFFF#000000##FFFFFF
##3D2EA11.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d2ea1;
/* rgb */ color: rgb(61, 46, 161);
/* oklch */ color: oklch(39.8% 0.176 280.7);
Tailwind
colors: {
  custom: {
    50: '#7f68be',
    500: '#3d2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #3d2ea1;
$custom-light: #7f68be;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2ea1",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 247.826,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3981,
    "c": 0.17582,
    "h": 280.7
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#3D2EA1
secondary
#B4BE6C
accent
#DF49CB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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