#3A2BB0#3A2BB0

#3A2BB0 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.198 H 278.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#3A2BB0
RGBrgb(58, 43, 176)
HSLhsl(247, 61%, 43%)
HSVhsv(247, 76%, 69%)
CMYKcmyk(67%, 75.6%, 0%, 31%)
CIE-LABlab(28.80, 46.37, -67.91)
CIE-LCHlch(28.80, 82.23, 304.32°)
OKLaboklab(40.65% 0.0274 -0.1962)
OKLCHoklch(40.65% 0.198 278)
XYZxyz(10.4427, 5.7610, 41.6275)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2BB0 #A1B02B
analogous
#2B5EB0 #3A2BB0 #7C2BB0
triadic
#3A2BB0 #B03A2B #2BB03A
tetradic
#3A2BB0 #B02B5E #A1B02B #2BB07C
square
#3A2BB0 #B02B5E #A1B02B #2BB07C
split-complementary
#3A2BB0 #B07C2B #5EB02B
monochromatic
#1A134E #2A1F7F #3A2BB0 #5646D2 #8378DE

Accessibility & contrast

On white

9.76
#3A2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3A2BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2BB0
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2BB0#FFFFFF#000000##FFFFFF
##3A2BB01.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a2bb0;
/* rgb */ color: rgb(58, 43, 176);
/* oklch */ color: oklch(40.6% 0.198 278.0);
Tailwind
colors: {
  custom: {
    50: '#8167c9',
    500: '#3a2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #3a2bb0;
$custom-light: #8167c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2bb0",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 246.767,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40646,
    "c": 0.19808,
    "h": 278
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

primary
#3A2BB0
secondary
#BCC671
accent
#E444D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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