#3A2CB8#3A2CB8

#3A2CB8 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.207 H 277.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#3A2CB8
RGBrgb(58, 44, 184)
HSLhsl(246, 61%, 45%)
HSVhsv(246, 76%, 72%)
CMYKcmyk(68.5%, 76.1%, 0%, 27.8%)
CIE-LABlab(29.81, 48.34, -71.01)
CIE-LCHlch(29.81, 85.90, 304.25°)
OKLaboklab(41.61% 0.025 -0.2052)
OKLCHoklch(41.61% 0.207 277)
XYZxyz(11.2945, 6.1606, 45.9320)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CB8 #AAB82C
analogous
#2C64B8 #3A2CB8 #802CB8
triadic
#3A2CB8 #B83A2C #2CB83A
tetradic
#3A2CB8 #B82C64 #AAB82C #2CB880
square
#3A2CB8 #B82C64 #AAB82C #2CB880
split-complementary
#3A2CB8 #B8802C #64B82C
monochromatic
#1B1455 #2A2087 #3A2CB8 #5A4DD4 #887EE0

Accessibility & contrast

On white

9.41
#3A2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3A2CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CB8
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CB8#FFFFFF#000000##FFFFFF
##3A2CB81.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#0040B6
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a2cb8;
/* rgb */ color: rgb(58, 44, 184);
/* oklch */ color: oklch(41.6% 0.207 277.0);
Tailwind
colors: {
  custom: {
    50: '#8268cf',
    500: '#3a2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cb8;
$custom-light: #8268cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cb8",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 246,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41605,
    "c": 0.20671,
    "h": 277
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#3A2CB8
secondary
#C1C977
accent
#E543D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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