#3A2BB8#3A2BB8

#3A2BB8 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.5% C 0.208 H 277.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#3A2BB8
RGBrgb(58, 43, 184)
HSLhsl(246, 62%, 45%)
HSVhsv(246, 77%, 72%)
CMYKcmyk(68.5%, 76.6%, 0%, 27.8%)
CIE-LABlab(29.63, 48.87, -71.31)
CIE-LCHlch(29.63, 86.45, 304.42°)
OKLaboklab(41.48% 0.0256 -0.2061)
OKLCHoklch(41.48% 0.208 277.1)
XYZxyz(11.2577, 6.0870, 45.9197)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2BB8 #A9B82B
analogous
#2B63B8 #3A2BB8 #812BB8
triadic
#3A2BB8 #B83A2B #2BB83A
tetradic
#3A2BB8 #B82B63 #A9B82B #2BB881
square
#3A2BB8 #B82B63 #A9B82B #2BB881
split-complementary
#3A2BB8 #B8812B #63B82B
monochromatic
#1B1455 #2A1F86 #3A2BB8 #5A4BD5 #877DE1

Accessibility & contrast

On white

9.47
#3A2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3A2BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2BB8
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2BB8#FFFFFF#000000##FFFFFF
##3A2BB81.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.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: #3a2bb8;
/* rgb */ color: rgb(58, 43, 184);
/* oklch */ color: oklch(41.5% 0.208 277.1);
Tailwind
colors: {
  custom: {
    50: '#8267cf',
    500: '#3a2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #3a2bb8;
$custom-light: #8267cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2bb8",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 246.383,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41477,
    "c": 0.20764,
    "h": 277.1
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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