#3C27BC#3C27BC

#3C27BC is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.6% C 0.215 H 277.8°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#3C27BC
RGBrgb(60, 39, 188)
HSLhsl(248, 66%, 45%)
HSVhsv(248, 79%, 74%)
CMYKcmyk(68.1%, 79.3%, 0%, 26.3%)
CIE-LABlab(29.52, 52.27, -73.86)
CIE-LCHlch(29.52, 90.49, 305.29°)
OKLaboklab(41.56% 0.0293 -0.2134)
OKLCHoklch(41.56% 0.215 277.8)
XYZxyz(11.6632, 6.0415, 48.1187)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C27BC #A7BC27
analogous
#275DBC #3C27BC #8627BC
triadic
#3C27BC #BC3C27 #27BC3C
tetradic
#3C27BC #BC275D #A7BC27 #27BC86
square
#3C27BC #BC275D #A7BC27 #27BC86
split-complementary
#3C27BC #BC8627 #5DBC27
monochromatic
#1C1257 #2C1C89 #3C27BC #5C47D9 #897AE3

Accessibility & contrast

On white

9.51
#3C27BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3C27BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C27BC
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C27BC#FFFFFF#000000##FFFFFF
##3C27BC1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c27bc;
/* rgb */ color: rgb(60, 39, 188);
/* oklch */ color: oklch(41.6% 0.215 277.8);
Tailwind
colors: {
  custom: {
    50: '#8466d2',
    500: '#3c27bc',
    950: '#000000',
  },
}
SCSS
$custom: #3c27bc;
$custom-light: #8466d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c27bc",
  "rgb": {
    "r": 60,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 248.456,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41562,
    "c": 0.2154,
    "h": 277.8
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

primary
#3C27BC
secondary
#BFCB73
accent
#E93FD1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3C27BC

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

Preview Lab → · Contrast checker → · Palette generator →

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