#3A2DC8#3A2DC8

#3A2DC8 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.4% C 0.225 H 275.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#3A2DC8
RGBrgb(58, 45, 200)
HSLhsl(245, 63%, 48%)
HSVhsv(245, 78%, 78%)
CMYKcmyk(71%, 77.5%, 0%, 21.6%)
CIE-LABlab(31.68, 52.78, -77.34)
CIE-LCHlch(31.68, 93.64, 304.31°)
OKLaboklab(43.42% 0.0208 -0.2236)
OKLCHoklch(43.42% 0.225 275.3)
XYZxyz(13.1052, 6.9452, 55.2823)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DC8 #BBC82D
analogous
#2D6EC8 #3A2DC8 #872DC8
triadic
#3A2DC8 #C83A2D #2DC83A
tetradic
#3A2DC8 #C82D6E #BBC82D #2DC887
square
#3A2DC8 #C82D6E #BBC82D #2DC887
split-complementary
#3A2DC8 #C8872D #6EC82D
monochromatic
#1D1764 #2C2296 #3A2DC8 #6359DA #928BE5

Accessibility & contrast

On white

8.79
#3A2DC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3A2DC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DC8
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DC8#FFFFFF#000000##FFFFFF
##3A2DC81.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CC
Deuteranopia (green-blind)
#0043C5
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a2dc8;
/* rgb */ color: rgb(58, 45, 200);
/* oklch */ color: oklch(43.4% 0.225 275.3);
Tailwind
colors: {
  custom: {
    50: '#8669da',
    500: '#3a2dc8',
    950: '#000000',
  },
}
SCSS
$custom: #3a2dc8;
$custom-light: #8669da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2dc8",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 200
  },
  "hsl": {
    "h": 245.032,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43416,
    "c": 0.22461,
    "h": 275.3
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#3A2DC8
secondary
#C8CF82
accent
#E641D8
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A2DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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