#3A2D92#3A2D92

#3A2D92 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.158 H 281.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3A2D92
RGBrgb(58, 45, 146)
HSLhsl(248, 53%, 37%)
HSVhsv(248, 69%, 57%)
CMYKcmyk(60.3%, 69.2%, 0%, 42.7%)
CIE-LABlab(26.31, 35.57, -53.80)
CIE-LCHlch(26.31, 64.50, 303.47°)
OKLaboklab(37.99% 0.0319 -0.1549)
OKLCHoklch(37.99% 0.158 281.6)
XYZxyz(7.8700, 4.8511, 27.7102)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2D92 #85922D
analogous
#2D5292 #3A2D92 #6D2D92
triadic
#3A2D92 #923A2D #2D923A
tetradic
#3A2D92 #922D52 #85922D #2D926D
square
#3A2D92 #922D52 #85922D #2D926D
split-complementary
#3A2D92 #926D2D #52922D
monochromatic
#151034 #271F63 #3A2D92 #4D3BC1 #7669D1

Accessibility & contrast

On white

10.66
#3A2D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3A2D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2D92
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2D92#FFFFFF#000000##FFFFFF
##3A2D921.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a2d92;
/* rgb */ color: rgb(58, 45, 146);
/* oklch */ color: oklch(38.0% 0.158 281.6);
Tailwind
colors: {
  custom: {
    50: '#7a67b3',
    500: '#3a2d92',
    950: '#000000',
  },
}
SCSS
$custom: #3a2d92;
$custom-light: #7a67b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2d92",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 247.723,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37989,
    "c": 0.15817,
    "h": 281.6
  },
  "luminance": 0.04852
}

Semantic roles & 50–950 ramp

primary
#3A2D92
secondary
#ADB763
accent
#DC4CCA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2D92

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

Preview Lab → · Contrast checker → · Palette generator →

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