#3A27AC#3A27AC

#3A27AC is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.7% C 0.197 H 279.0°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#3A27AC
RGBrgb(58, 39, 172)
HSLhsl(249, 63%, 41%)
HSVhsv(249, 77%, 67%)
CMYKcmyk(66.3%, 77.3%, 0%, 32.5%)
CIE-LABlab(27.65, 47.22, -67.41)
CIE-LCHlch(27.65, 82.31, 305.01°)
OKLaboklab(39.71% 0.0307 -0.1947)
OKLCHoklch(39.71% 0.197 279)
XYZxyz(9.9144, 5.3283, 39.5277)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A27AC #99AC27
analogous
#2757AC #3A27AC #7D27AC
triadic
#3A27AC #AC3A27 #27AC3A
tetradic
#3A27AC #AC2757 #99AC27 #27AC7D
square
#3A27AC #AC2757 #99AC27 #27AC7D
split-complementary
#3A27AC #AC7D27 #57AC27
monochromatic
#181048 #291C7A #3A27AC #533DD3 #7F6FDE

Accessibility & contrast

On white

10.17
#3A27AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3A27AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A27AC
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A27AC#FFFFFF#000000##FFFFFF
##3A27AC1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a27ac;
/* rgb */ color: rgb(58, 39, 172);
/* oklch */ color: oklch(39.7% 0.197 279.0);
Tailwind
colors: {
  custom: {
    50: '#8065c6',
    500: '#3a27ac',
    950: '#000000',
  },
}
SCSS
$custom: #3a27ac;
$custom-light: #8065c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a27ac",
  "rgb": {
    "r": 58,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 248.571,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39713,
    "c": 0.19709,
    "h": 279
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#3A27AC
secondary
#B8C56A
accent
#E642CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A27AC

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

Preview Lab → · Contrast checker → · Palette generator →

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