#3A27BC#3A27BC

#3A27BC is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.4% C 0.216 H 277.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#3A27BC
RGBrgb(58, 39, 188)
HSLhsl(248, 66%, 45%)
HSVhsv(248, 79%, 74%)
CMYKcmyk(69.1%, 79.3%, 0%, 26.3%)
CIE-LABlab(29.36, 52.09, -74.12)
CIE-LCHlch(29.36, 90.59, 305.10°)
OKLaboklab(41.42% 0.0265 -0.2142)
OKLCHoklch(41.42% 0.216 277)
XYZxyz(11.5446, 5.9804, 48.1131)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A27BC #A9BC27
analogous
#275FBC #3A27BC #8527BC
triadic
#3A27BC #BC3A27 #27BC3A
tetradic
#3A27BC #BC275F #A9BC27 #27BC85
square
#3A27BC #BC275F #A9BC27 #27BC85
split-complementary
#3A27BC #BC8527 #5FBC27
monochromatic
#1B1257 #2A1C89 #3A27BC #5A47D9 #877AE3

Accessibility & contrast

On white

9.56
#3A27BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3A27BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A27BC
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A27BC#FFFFFF#000000##FFFFFF
##3A27BC1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC0
Deuteranopia (green-blind)
#003FB9
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a27bc;
/* rgb */ color: rgb(58, 39, 188);
/* oklch */ color: oklch(41.4% 0.216 277.0);
Tailwind
colors: {
  custom: {
    50: '#8365d2',
    500: '#3a27bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a27bc;
$custom-light: #8365d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a27bc",
  "rgb": {
    "r": 58,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 247.651,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41415,
    "c": 0.21583,
    "h": 277
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#3A27BC
secondary
#C0CB73
accent
#E93FD3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3A27BC

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

Preview Lab → · Contrast checker → · Palette generator →

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