#3A2EB0#3A2EB0

#3A2EB0 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.1% C 0.195 H 277.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#3A2EB0
RGBrgb(58, 46, 176)
HSLhsl(246, 59%, 44%)
HSVhsv(246, 74%, 69%)
CMYKcmyk(67%, 73.9%, 0%, 31%)
CIE-LABlab(29.38, 44.73, -66.96)
CIE-LCHlch(29.38, 80.53, 303.75°)
OKLaboklab(41.06% 0.0257 -0.1934)
OKLCHoklch(41.06% 0.195 277.6)
XYZxyz(10.5559, 5.9872, 41.6652)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2EB0 #A4B02E
analogous
#2E63B0 #3A2EB0 #7B2EB0
triadic
#3A2EB0 #B03A2E #2EB03A
tetradic
#3A2EB0 #B02E63 #A4B02E #2EB07B
square
#3A2EB0 #B02E63 #A4B02E #2EB07B
split-complementary
#3A2EB0 #B07B2E #63B02E
monochromatic
#1A154F #2A217F #3A2EB0 #574BD0 #857CDD

Accessibility & contrast

On white

9.56
#3A2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3A2EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2EB0
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2EB0#FFFFFF#000000##FFFFFF
##3A2EB01.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#0040AE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a2eb0;
/* rgb */ color: rgb(58, 46, 176);
/* oklch */ color: oklch(41.1% 0.195 277.6);
Tailwind
colors: {
  custom: {
    50: '#8069c9',
    500: '#3a2eb0',
    950: '#000000',
  },
}
SCSS
$custom: #3a2eb0;
$custom-light: #8069c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2eb0",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 245.538,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41055,
    "c": 0.1951,
    "h": 277.6
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#3A2EB0
secondary
#BEC575
accent
#E246D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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