#3A2DB9#3A2DB9

#3A2DB9 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.207 H 276.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#3A2DB9
RGBrgb(58, 45, 185)
HSLhsl(246, 61%, 45%)
HSVhsv(246, 76%, 73%)
CMYKcmyk(68.6%, 75.7%, 0%, 27.5%)
CIE-LABlab(30.10, 48.13, -71.12)
CIE-LCHlch(30.10, 85.88, 304.09°)
OKLaboklab(41.84% 0.0243 -0.2055)
OKLCHoklch(41.84% 0.207 276.7)
XYZxyz(11.4374, 6.2781, 46.4986)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DB9 #ACB92D
analogous
#2D66B9 #3A2DB9 #802DB9
triadic
#3A2DB9 #B93A2D #2DB93A
tetradic
#3A2DB9 #B92D66 #ACB92D #2DB980
square
#3A2DB9 #B92D66 #ACB92D #2DB980
split-complementary
#3A2DB9 #B9802D #66B92D
monochromatic
#1B1557 #2B2188 #3A2DB9 #5B4FD4 #8980E0

Accessibility & contrast

On white

9.31
#3A2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3A2DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DB9
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DB9#FFFFFF#000000##FFFFFF
##3A2DB91.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0041B7
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a2db9;
/* rgb */ color: rgb(58, 45, 185);
/* oklch */ color: oklch(41.8% 0.207 276.7);
Tailwind
colors: {
  custom: {
    50: '#8269cf',
    500: '#3a2db9',
    950: '#000000',
  },
}
SCSS
$custom: #3a2db9;
$custom-light: #8269cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2db9",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 245.571,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4184,
    "c": 0.20697,
    "h": 276.7
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#3A2DB9
secondary
#C2C979
accent
#E444D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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