#3A2CB0#3A2CB0

#3A2CB0 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.8% C 0.197 H 277.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#3A2CB0
RGBrgb(58, 44, 176)
HSLhsl(246, 60%, 43%)
HSVhsv(246, 75%, 69%)
CMYKcmyk(67%, 75%, 0%, 31%)
CIE-LABlab(28.99, 45.83, -67.60)
CIE-LCHlch(28.99, 81.67, 304.14°)
OKLaboklab(40.78% 0.0269 -0.1953)
OKLCHoklch(40.78% 0.197 277.8)
XYZxyz(10.4795, 5.8346, 41.6398)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CB0 #A2B02C
analogous
#2C60B0 #3A2CB0 #7C2CB0
triadic
#3A2CB0 #B03A2C #2CB03A
tetradic
#3A2CB0 #B02C60 #A2B02C #2CB07C
square
#3A2CB0 #B02C60 #A2B02C #2CB07C
split-complementary
#3A2CB0 #B07C2C #60B02C
monochromatic
#1A144E #2A207F #3A2CB0 #5748D1 #8479DD

Accessibility & contrast

On white

9.69
#3A2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3A2CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CB0
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CB0#FFFFFF#000000##FFFFFF
##3A2CB01.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003FAE
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a2cb0;
/* rgb */ color: rgb(58, 44, 176);
/* oklch */ color: oklch(40.8% 0.197 277.8);
Tailwind
colors: {
  custom: {
    50: '#8168c9',
    500: '#3a2cb0',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cb0;
$custom-light: #8168c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cb0",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 246.364,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4078,
    "c": 0.1971,
    "h": 277.8
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

primary
#3A2CB0
secondary
#BDC672
accent
#E345D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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