#3A3971#3A3971

#3A3971 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.5% C 0.094 H 281.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#3A3971
RGBrgb(58, 57, 113)
HSLhsl(241, 33%, 33%)
HSVhsv(241, 50%, 44%)
CMYKcmyk(48.7%, 49.6%, 0%, 55.7%)
CIE-LABlab(26.79, 16.72, -32.35)
CIE-LCHlch(26.79, 36.41, 297.34°)
OKLaboklab(37.54% 0.019 -0.0918)
OKLCHoklch(37.54% 0.094 281.7)
XYZxyz(6.1878, 5.0177, 16.2621)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3971 #707139
analogous
#395471 #3A3971 #563971
triadic
#3A3971 #713A39 #39713A
tetradic
#3A3971 #713954 #707139 #397156
square
#3A3971 #713954 #707139 #397156
split-complementary
#3A3971 #715639 #547139
monochromatic
#101020 #252448 #3A3971 #4F4E9A #706EB6

Accessibility & contrast

On white

10.48
#3A3971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3A3971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3971
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3971#FFFFFF#000000##FFFFFF
##3A39711.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224173
Deuteranopia (green-blind)
#1E3D70
Tritanopia (blue-blind)
#27454F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a3971;
/* rgb */ color: rgb(58, 57, 113);
/* oklch */ color: oklch(37.5% 0.094 281.7);
Tailwind
colors: {
  custom: {
    50: '#746f9a',
    500: '#3a3971',
    950: '#000000',
  },
}
SCSS
$custom: #3a3971;
$custom-light: #746f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3971",
  "rgb": {
    "r": 58,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 241.071,
    "s": 32.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3754,
    "c": 0.09376,
    "h": 281.7
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#3A3971
secondary
#9EA066
accent
#C95FC7
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #3A3971

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

Preview Lab → · Contrast checker → · Palette generator →

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