#3A2DA0#3A2DA0

#3A2DA0 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.176 H 279.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#3A2DA0
RGBrgb(58, 45, 160)
HSLhsl(247, 56%, 40%)
HSVhsv(247, 72%, 63%)
CMYKcmyk(63.8%, 71.9%, 0%, 37.3%)
CIE-LABlab(27.61, 40.14, -60.23)
CIE-LCHlch(27.61, 72.38, 303.68°)
OKLaboklab(39.32% 0.0295 -0.1737)
OKLCHoklch(39.32% 0.176 279.6)
XYZxyz(9.0265, 5.3137, 33.8009)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2DA0 #93A02D
analogous
#2D59A0 #3A2DA0 #742DA0
triadic
#3A2DA0 #A03A2D #2DA03A
tetradic
#3A2DA0 #A02D59 #93A02D #2DA074
square
#3A2DA0 #A02D59 #93A02D #2DA074
split-complementary
#3A2DA0 #A0742D #59A02D
monochromatic
#171240 #292070 #3A2DA0 #5041C9 #7C70D7

Accessibility & contrast

On white

10.18
#3A2DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3A2DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2DA0
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2DA0#FFFFFF#000000##FFFFFF
##3A2DA01.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a2da0;
/* rgb */ color: rgb(58, 45, 160);
/* oklch */ color: oklch(39.3% 0.176 279.6);
Tailwind
colors: {
  custom: {
    50: '#7d68bd',
    500: '#3a2da0',
    950: '#000000',
  },
}
SCSS
$custom: #3a2da0;
$custom-light: #7d68bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2da0",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 246.783,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39323,
    "c": 0.17623,
    "h": 279.6
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#3A2DA0
secondary
#B5BE6B
accent
#DF48CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A2DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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