#3A27C3#3A27C3

#3A27C3 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.2% C 0.224 H 276.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#3A27C3
RGBrgb(58, 39, 195)
HSLhsl(247, 67%, 46%)
HSVhsv(247, 80%, 76%)
CMYKcmyk(70.3%, 80%, 0%, 23.5%)
CIE-LABlab(30.13, 54.18, -76.98)
CIE-LCHlch(30.13, 94.13, 305.14°)
OKLaboklab(42.18% 0.0246 -0.2225)
OKLCHoklch(42.18% 0.224 276.3)
XYZxyz(12.3175, 6.2896, 52.1840)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A27C3 #B0C327
analogous
#2762C3 #3A27C3 #8827C3
triadic
#3A27C3 #C33A27 #27C33A
tetradic
#3A27C3 #C32762 #B0C327 #27C388
square
#3A27C3 #C32762 #B0C327 #27C388
split-complementary
#3A27C3 #C38827 #62C327
monochromatic
#1C135D #2B1D90 #3A27C3 #5D4CDB #8B7FE5

Accessibility & contrast

On white

9.30
#3A27C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3A27C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A27C3
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A27C3#FFFFFF#000000##FFFFFF
##3A27C31.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC7
Deuteranopia (green-blind)
#0040C0
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a27c3;
/* rgb */ color: rgb(58, 39, 195);
/* oklch */ color: oklch(42.2% 0.224 276.3);
Tailwind
colors: {
  custom: {
    50: '#8566d7',
    500: '#3a27c3',
    950: '#000000',
  },
}
SCSS
$custom: #3a27c3;
$custom-light: #8566d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a27c3",
  "rgb": {
    "r": 58,
    "g": 39,
    "b": 195
  },
  "hsl": {
    "h": 247.308,
    "s": 66.667,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42175,
    "c": 0.22386,
    "h": 276.3
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#3A27C3
secondary
#C3CE78
accent
#EA3ED5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3A27C3

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

Preview Lab → · Contrast checker → · Palette generator →

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