#3A2ABC#3A2ABC

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

Color values

HEX#3A2ABC
RGBrgb(58, 42, 188)
HSLhsl(247, 63%, 45%)
HSVhsv(247, 78%, 74%)
CMYKcmyk(69.1%, 77.7%, 0%, 26.3%)
CIE-LABlab(29.88, 50.61, -73.28)
CIE-LCHlch(29.88, 89.05, 304.63°)
OKLaboklab(41.77% 0.0251 -0.2118)
OKLCHoklch(41.77% 0.213 276.8)
XYZxyz(11.6470, 6.1853, 48.1473)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2ABC #ACBC2A
analogous
#2A63BC #3A2ABC #832ABC
triadic
#3A2ABC #BC3A2A #2ABC3A
tetradic
#3A2ABC #BC2A63 #ACBC2A #2ABC83
square
#3A2ABC #BC2A63 #ACBC2A #2ABC83
split-complementary
#3A2ABC #BC832A #63BC2A
monochromatic
#1B1458 #2B1F8A #3A2ABC #5B4CD7 #897EE2

Accessibility & contrast

On white

9.39
#3A2ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3A2ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2ABC
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2ABC#FFFFFF#000000##FFFFFF
##3A2ABC1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0040B9
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a2abc;
/* rgb */ color: rgb(58, 42, 188);
/* oklch */ color: oklch(41.8% 0.213 276.8);
Tailwind
colors: {
  custom: {
    50: '#8367d2',
    500: '#3a2abc',
    950: '#000000',
  },
}
SCSS
$custom: #3a2abc;
$custom-light: #8367d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2abc",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 246.575,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41773,
    "c": 0.21326,
    "h": 276.8
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

primary
#3A2ABC
secondary
#C2CB77
accent
#E741D4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3A2ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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