#3A27AA#3A27AA

#3A27AA is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.195 H 279.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#3A27AA
RGBrgb(58, 39, 170)
HSLhsl(249, 63%, 41%)
HSVhsv(249, 77%, 67%)
CMYKcmyk(65.9%, 77.1%, 0%, 33.3%)
CIE-LABlab(27.44, 46.60, -66.56)
CIE-LCHlch(27.44, 81.25, 305.00°)
OKLaboklab(39.5% 0.0312 -0.1922)
OKLCHoklch(39.5% 0.195 279.2)
XYZxyz(9.7238, 5.2521, 38.5237)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A27AA #97AA27
analogous
#2755AA #3A27AA #7B27AA
triadic
#3A27AA #AA3A27 #27AA3A
tetradic
#3A27AA #AA2755 #97AA27 #27AA7B
square
#3A27AA #AA2755 #97AA27 #27AA7B
split-complementary
#3A27AA #AA7B27 #55AA27
monochromatic
#181046 #291C78 #3A27AA #523CD2 #7E6EDE

Accessibility & contrast

On white

10.24
#3A27AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3A27AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A27AA
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A27AA#FFFFFF#000000##FFFFFF
##3A27AA1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a27aa;
/* rgb */ color: rgb(58, 39, 170);
/* oklch */ color: oklch(39.5% 0.195 279.2);
Tailwind
colors: {
  custom: {
    50: '#8064c5',
    500: '#3a27aa',
    950: '#000000',
  },
}
SCSS
$custom: #3a27aa;
$custom-light: #8064c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a27aa",
  "rgb": {
    "r": 58,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 248.702,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39504,
    "c": 0.1947,
    "h": 279.2
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#3A27AA
secondary
#B7C469
accent
#E642CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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