#3A2DB8#3A2DB8

#3A2DB8 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.206 H 276.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3A2DB8
RGBrgb(58, 45, 184)
HSLhsl(246, 61%, 45%)
HSVhsv(246, 76%, 72%)
CMYKcmyk(68.5%, 75.5%, 0%, 27.8%)
CIE-LABlab(30.00, 47.81, -70.70)
CIE-LCHlch(30.00, 85.35, 304.07°)
OKLaboklab(41.74% 0.0245 -0.2043)
OKLCHoklch(41.74% 0.206 276.8)
XYZxyz(11.3322, 6.2360, 45.9446)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DB8 #ABB82D
analogous
#2D65B8 #3A2DB8 #802DB8
triadic
#3A2DB8 #B83A2D #2DB83A
tetradic
#3A2DB8 #B82D65 #ABB82D #2DB880
square
#3A2DB8 #B82D65 #ABB82D #2DB880
split-complementary
#3A2DB8 #B8802D #65B82D
monochromatic
#1B1556 #2B2187 #3A2DB8 #5B4ED4 #8980E0

Accessibility & contrast

On white

9.34
#3A2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3A2DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DB8
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DB8#FFFFFF#000000##FFFFFF
##3A2DB81.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a2db8;
/* rgb */ color: rgb(58, 45, 184);
/* oklch */ color: oklch(41.7% 0.206 276.8);
Tailwind
colors: {
  custom: {
    50: '#8269cf',
    500: '#3a2db8',
    950: '#000000',
  },
}
SCSS
$custom: #3a2db8;
$custom-light: #8269cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2db8",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 245.612,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41736,
    "c": 0.20577,
    "h": 276.8
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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