#3D2EA6#3D2EA6

#3D2EA6 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.182 H 280.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#3D2EA6
RGBrgb(61, 46, 166)
HSLhsl(248, 57%, 42%)
HSVhsv(248, 72%, 65%)
CMYKcmyk(63.3%, 72.3%, 0%, 34.9%)
CIE-LABlab(28.64, 41.91, -62.16)
CIE-LCHlch(28.64, 74.97, 303.99°)
OKLaboklab(40.29% 0.0318 -0.1793)
OKLCHoklch(40.29% 0.182 280)
XYZxyz(9.7822, 5.6985, 36.6534)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2EA6 #97A62E
analogous
#2E5BA6 #3D2EA6 #792EA6
triadic
#3D2EA6 #A63D2E #2EA63D
tetradic
#3D2EA6 #A62E5B #97A62E #2EA679
square
#3D2EA6 #A62E5B #97A62E #2EA679
split-complementary
#3D2EA6 #A6792E #5BA62E
monochromatic
#1A1346 #2B2176 #3D2EA6 #5646CC #8276D9

Accessibility & contrast

On white

9.81
#3D2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3D2EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2EA6
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2EA6#FFFFFF#000000##FFFFFF
##3D2EA61.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d2ea6;
/* rgb */ color: rgb(61, 46, 166);
/* oklch */ color: oklch(40.3% 0.182 280.0);
Tailwind
colors: {
  custom: {
    50: '#8069c2',
    500: '#3d2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #3d2ea6;
$custom-light: #8069c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2ea6",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 247.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40293,
    "c": 0.18211,
    "h": 280
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#3D2EA6
secondary
#B7C16F
accent
#E048CD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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