#3D2EAB#3D2EAB

#3D2EAB is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.188 H 279.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#3D2EAB
RGBrgb(61, 46, 171)
HSLhsl(247, 58%, 43%)
HSVhsv(247, 73%, 67%)
CMYKcmyk(64.3%, 73.1%, 0%, 32.9%)
CIE-LABlab(29.12, 43.50, -64.38)
CIE-LCHlch(29.12, 77.70, 304.05°)
OKLaboklab(40.78% 0.0308 -0.1858)
OKLCHoklch(40.78% 0.188 279.4)
XYZxyz(10.2498, 5.8856, 39.1161)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2EAB #9CAB2E
analogous
#2E5DAB #3D2EAB #7C2EAB
triadic
#3D2EAB #AB3D2E #2EAB3D
tetradic
#3D2EAB #AB2E5D #9CAB2E #2EAB7C
square
#3D2EAB #AB2E5D #9CAB2E #2EAB7C
split-complementary
#3D2EAB #AB7C2E #5DAB2E
monochromatic
#1B144B #2C217B #3D2EAB #5848CE #8479DB

Accessibility & contrast

On white

9.65
#3D2EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3D2EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2EAB
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2EAB#FFFFFF#000000##FFFFFF
##3D2EAB1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3d2eab;
/* rgb */ color: rgb(61, 46, 171);
/* oklch */ color: oklch(40.8% 0.188 279.4);
Tailwind
colors: {
  custom: {
    50: '#8169c5',
    500: '#3d2eab',
    950: '#000000',
  },
}
SCSS
$custom: #3d2eab;
$custom-light: #8169c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2eab",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 247.2,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40783,
    "c": 0.18833,
    "h": 279.4
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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