#3D2EAA#3D2EAA

#3D2EAA is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.7% C 0.187 H 279.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#3D2EAA
RGBrgb(61, 46, 170)
HSLhsl(247, 57%, 42%)
HSVhsv(247, 73%, 67%)
CMYKcmyk(64.1%, 72.9%, 0%, 33.3%)
CIE-LABlab(29.02, 43.18, -63.94)
CIE-LCHlch(29.02, 77.16, 304.03°)
OKLaboklab(40.68% 0.031 -0.1845)
OKLCHoklch(40.68% 0.187 279.5)
XYZxyz(10.1548, 5.8476, 38.6160)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2EAA #9BAA2E
analogous
#2E5DAA #3D2EAA #7B2EAA
triadic
#3D2EAA #AA3D2E #2EAA3D
tetradic
#3D2EAA #AA2E5D #9BAA2E #2EAA7B
square
#3D2EAA #AA2E5D #9BAA2E #2EAA7B
split-complementary
#3D2EAA #AA7B2E #5DAA2E
monochromatic
#1A144A #2C217A #3D2EAA #5848CD #8478DA

Accessibility & contrast

On white

9.68
#3D2EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3D2EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2EAA
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2EAA#FFFFFF#000000##FFFFFF
##3D2EAA1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d2eaa;
/* rgb */ color: rgb(61, 46, 170);
/* oklch */ color: oklch(40.7% 0.187 279.5);
Tailwind
colors: {
  custom: {
    50: '#8069c4',
    500: '#3d2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #3d2eaa;
$custom-light: #8069c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2eaa",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 247.258,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40684,
    "c": 0.18709,
    "h": 279.5
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#3D2EAA
secondary
#B9C371
accent
#E147CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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