#3A2D8E#3A2D8E

#3A2D8E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.153 H 282.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#3A2D8E
RGBrgb(58, 45, 142)
HSLhsl(248, 52%, 37%)
HSVhsv(248, 68%, 56%)
CMYKcmyk(59.2%, 68.3%, 0%, 44.3%)
CIE-LABlab(25.95, 34.26, -51.92)
CIE-LCHlch(25.95, 62.20, 303.42°)
OKLaboklab(37.62% 0.0325 -0.1494)
OKLCHoklch(37.62% 0.153 282.3)
XYZxyz(7.5643, 4.7288, 26.1001)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2D8E #818E2D
analogous
#2D518E #3A2D8E #6B2D8E
triadic
#3A2D8E #8E3A2D #2D8E3A
tetradic
#3A2D8E #8E2D51 #818E2D #2D8E6B
square
#3A2D8E #8E2D51 #818E2D #2D8E6B
split-complementary
#3A2D8E #8E6B2D #518E2D
monochromatic
#141031 #271E60 #3A2D8E #4D3CBC #7567CF

Accessibility & contrast

On white

10.79
#3A2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3A2D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2D8E
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2D8E#FFFFFF#000000##FFFFFF
##3A2D8E1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#094659
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a2d8e;
/* rgb */ color: rgb(58, 45, 142);
/* oklch */ color: oklch(37.6% 0.153 282.3);
Tailwind
colors: {
  custom: {
    50: '#7a67b0',
    500: '#3a2d8e',
    950: '#000000',
  },
}
SCSS
$custom: #3a2d8e;
$custom-light: #7a67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2d8e",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 248.041,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3762,
    "c": 0.15288,
    "h": 282.3
  },
  "luminance": 0.04729
}

Semantic roles & 50–950 ramp

primary
#3A2D8E
secondary
#AAB561
accent
#DB4CC8
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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