#3A2D8F#3A2D8F

#3A2D8F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.154 H 282.1°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#3A2D8F
RGBrgb(58, 45, 143)
HSLhsl(248, 52%, 37%)
HSVhsv(248, 69%, 56%)
CMYKcmyk(59.4%, 68.5%, 0%, 43.9%)
CIE-LABlab(26.04, 34.59, -52.39)
CIE-LCHlch(26.04, 62.78, 303.43°)
OKLaboklab(37.71% 0.0323 -0.1508)
OKLCHoklch(37.71% 0.154 282.1)
XYZxyz(7.6397, 4.7590, 26.4973)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2D8F #828F2D
analogous
#2D518F #3A2D8F #6B2D8F
triadic
#3A2D8F #8F3A2D #2D8F3A
tetradic
#3A2D8F #8F2D51 #828F2D #2D8F6B
square
#3A2D8F #8F2D51 #828F2D #2D8F6B
split-complementary
#3A2D8F #8F6B2D #518F2D
monochromatic
#141032 #271E60 #3A2D8F #4D3CBE #7567CF

Accessibility & contrast

On white

10.76
#3A2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2D8F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2D8F#FFFFFF#000000##FFFFFF
##3A2D8F1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#07465A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a2d8f;
/* rgb */ color: rgb(58, 45, 143);
/* oklch */ color: oklch(37.7% 0.154 282.1);
Tailwind
colors: {
  custom: {
    50: '#7a67b1',
    500: '#3a2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #3a2d8f;
$custom-light: #7a67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2d8f",
  "rgb": {
    "r": 58,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 247.959,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37712,
    "c": 0.15421,
    "h": 282.1
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#3A2D8F
secondary
#ABB662
accent
#DC4CC9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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