#3A2DB0#3A2DB0

#3A2DB0 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.9% C 0.196 H 277.7°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#3A2DB0
RGBrgb(58, 45, 176)
HSLhsl(246, 59%, 43%)
HSVhsv(246, 74%, 69%)
CMYKcmyk(67%, 74.4%, 0%, 31%)
CIE-LABlab(29.18, 45.28, -67.28)
CIE-LCHlch(29.18, 81.10, 303.94°)
OKLaboklab(40.92% 0.0263 -0.1943)
OKLCHoklch(40.92% 0.196 277.7)
XYZxyz(10.5172, 5.9100, 41.6524)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DB0 #A3B02D
analogous
#2D61B0 #3A2DB0 #7B2DB0
triadic
#3A2DB0 #B03A2D #2DB03A
tetradic
#3A2DB0 #B02D61 #A3B02D #2DB07B
square
#3A2DB0 #B02D61 #A3B02D #2DB07B
split-complementary
#3A2DB0 #B07B2D #61B02D
monochromatic
#1A144F #2A217F #3A2DB0 #574AD1 #847ADD

Accessibility & contrast

On white

9.62
#3A2DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3A2DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DB0
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DB0#FFFFFF#000000##FFFFFF
##3A2DB01.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a2db0;
/* rgb */ color: rgb(58, 45, 176);
/* oklch */ color: oklch(40.9% 0.196 277.7);
Tailwind
colors: {
  custom: {
    50: '#8068c9',
    500: '#3a2db0',
    950: '#000000',
  },
}
SCSS
$custom: #3a2db0;
$custom-light: #8068c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2db0",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 245.954,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40916,
    "c": 0.19611,
    "h": 277.7
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#3A2DB0
secondary
#BDC573
accent
#E245D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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