#3A2DB5#3A2DB5

#3A2DB5 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.4% C 0.202 H 277.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#3A2DB5
RGBrgb(58, 45, 181)
HSLhsl(246, 60%, 44%)
HSVhsv(246, 75%, 71%)
CMYKcmyk(68%, 75.1%, 0%, 29%)
CIE-LABlab(29.69, 46.87, -69.43)
CIE-LCHlch(29.69, 83.77, 304.02°)
OKLaboklab(41.43% 0.0252 -0.2006)
OKLCHoklch(41.43% 0.202 277.2)
XYZxyz(11.0211, 6.1115, 44.3059)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DB5 #A8B52D
analogous
#2D64B5 #3A2DB5 #7E2DB5
triadic
#3A2DB5 #B53A2D #2DB53A
tetradic
#3A2DB5 #B52D64 #A8B52D #2DB57E
square
#3A2DB5 #B52D64 #A8B52D #2DB57E
split-complementary
#3A2DB5 #B57E2D #64B52D
monochromatic
#1B1553 #2A2184 #3A2DB5 #594DD3 #877EDF

Accessibility & contrast

On white

9.45
#3A2DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3A2DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DB5
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DB5#FFFFFF#000000##FFFFFF
##3A2DB51.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#0040B3
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a2db5;
/* rgb */ color: rgb(58, 45, 181);
/* oklch */ color: oklch(41.4% 0.202 277.2);
Tailwind
colors: {
  custom: {
    50: '#8168cc',
    500: '#3a2db5',
    950: '#000000',
  },
}
SCSS
$custom: #3a2db5;
$custom-light: #8168cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2db5",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 245.735,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41427,
    "c": 0.20217,
    "h": 277.2
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#3A2DB5
secondary
#C0C776
accent
#E344D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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