#3D2EA7#3D2EA7

#3D2EA7 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.183 H 279.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3D2EA7
RGBrgb(61, 46, 167)
HSLhsl(247, 57%, 42%)
HSVhsv(247, 72%, 65%)
CMYKcmyk(63.5%, 72.5%, 0%, 34.5%)
CIE-LABlab(28.73, 42.23, -62.61)
CIE-LCHlch(28.73, 75.52, 304.00°)
OKLaboklab(40.39% 0.0316 -0.1806)
OKLCHoklch(40.39% 0.183 279.9)
XYZxyz(9.8743, 5.7354, 37.1384)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2EA7 #98A72E
analogous
#2E5CA7 #3D2EA7 #7A2EA7
triadic
#3D2EA7 #A73D2E #2EA73D
tetradic
#3D2EA7 #A72E5C #98A72E #2EA77A
square
#3D2EA7 #A72E5C #98A72E #2EA77A
split-complementary
#3D2EA7 #A77A2E #5CA72E
monochromatic
#1A1447 #2B2177 #3D2EA7 #5746CC #8276D9

Accessibility & contrast

On white

9.78
#3D2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3D2EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2EA7
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2EA7#FFFFFF#000000##FFFFFF
##3D2EA71.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d2ea7;
/* rgb */ color: rgb(61, 46, 167);
/* oklch */ color: oklch(40.4% 0.183 279.9);
Tailwind
colors: {
  custom: {
    50: '#8069c2',
    500: '#3d2ea7',
    950: '#000000',
  },
}
SCSS
$custom: #3d2ea7;
$custom-light: #8069c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2ea7",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 247.438,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4039,
    "c": 0.18336,
    "h": 279.9
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#3D2EA7
secondary
#B7C170
accent
#E048CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3D2EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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