#3D2DAB#3D2DAB

#3D2DAB is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.189 H 279.6°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#3D2DAB
RGBrgb(61, 45, 171)
HSLhsl(248, 58%, 42%)
HSVhsv(248, 74%, 67%)
CMYKcmyk(64.3%, 73.7%, 0%, 32.9%)
CIE-LABlab(28.92, 44.06, -64.71)
CIE-LCHlch(28.92, 78.28, 304.25°)
OKLaboklab(40.64% 0.0314 -0.1867)
OKLCHoklch(40.64% 0.189 279.6)
XYZxyz(10.2112, 5.8083, 39.1032)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2DAB #9BAB2D
analogous
#2D5CAB #3D2DAB #7C2DAB
triadic
#3D2DAB #AB3D2D #2DAB3D
tetradic
#3D2DAB #AB2D5C #9BAB2D #2DAB7C
square
#3D2DAB #AB2D5C #9BAB2D #2DAB7C
split-complementary
#3D2DAB #AB7C2D #5CAB2D
monochromatic
#1A144A #2C207B #3D2DAB #5847CE #8477DB

Accessibility & contrast

On white

9.71
#3D2DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3D2DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2DAB
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2DAB#FFFFFF#000000##FFFFFF
##3D2DAB1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d2dab;
/* rgb */ color: rgb(61, 45, 171);
/* oklch */ color: oklch(40.6% 0.189 279.6);
Tailwind
colors: {
  custom: {
    50: '#8168c5',
    500: '#3d2dab',
    950: '#000000',
  },
}
SCSS
$custom: #3d2dab;
$custom-light: #8168c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2dab",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 247.619,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40642,
    "c": 0.18937,
    "h": 279.6
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D2DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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