#3D2BAC#3D2BAC

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

Color values

HEX#3D2BAC
RGBrgb(61, 43, 172)
HSLhsl(248, 60%, 42%)
HSVhsv(248, 75%, 67%)
CMYKcmyk(64.5%, 75%, 0%, 32.5%)
CIE-LABlab(28.64, 45.46, -65.78)
CIE-LCHlch(28.64, 79.96, 304.65°)
OKLaboklab(40.47% 0.0325 -0.1899)
OKLCHoklch(40.47% 0.193 279.7)
XYZxyz(10.2324, 5.6976, 39.5823)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2BAC #9AAC2B
analogous
#2B5AAC #3D2BAC #7E2BAC
triadic
#3D2BAC #AC3D2B #2BAC3D
tetradic
#3D2BAC #AC2B5A #9AAC2B #2BAC7E
square
#3D2BAC #AC2B5A #9AAC2B #2BAC7E
split-complementary
#3D2BAC #AC7E2B #5AAC2B
monochromatic
#1A134A #2C1F7B #3D2BAC #5844D0 #8375DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D2BAC#FFFFFF#000000##FFFFFF
##3D2BAC1.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)
#0048B0
Deuteranopia (green-blind)
#003EAA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d2bac;
/* rgb */ color: rgb(61, 43, 172);
/* oklch */ color: oklch(40.5% 0.193 279.7);
Tailwind
colors: {
  custom: {
    50: '#8167c6',
    500: '#3d2bac',
    950: '#000000',
  },
}
SCSS
$custom: #3d2bac;
$custom-light: #8167c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2bac",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 248.372,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40469,
    "c": 0.19263,
    "h": 279.7
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#3D2BAC
secondary
#B8C46F
accent
#E345CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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