#3C27BB#3C27BB

#3C27BB is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.5% C 0.214 H 277.9°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#3C27BB
RGBrgb(60, 39, 187)
HSLhsl(249, 65%, 44%)
HSVhsv(249, 79%, 73%)
CMYKcmyk(67.9%, 79.1%, 0%, 26.7%)
CIE-LABlab(29.41, 51.97, -73.45)
CIE-LCHlch(29.41, 89.98, 305.28°)
OKLaboklab(41.46% 0.0295 -0.2122)
OKLCHoklch(41.46% 0.214 277.9)
XYZxyz(11.5557, 5.9985, 47.5529)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C27BB #A6BB27
analogous
#275CBB #3C27BB #8627BB
triadic
#3C27BB #BB3C27 #27BB3C
tetradic
#3C27BB #BB275C #A6BB27 #27BB86
square
#3C27BB #BB275C #A6BB27 #27BB86
split-complementary
#3C27BB #BB8627 #5CBB27
monochromatic
#1C1256 #2C1C88 #3C27BB #5B47D9 #8879E3

Accessibility & contrast

On white

9.55
#3C27BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C27BB
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C27BB#FFFFFF#000000##FFFFFF
##3C27BB1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#003FB8
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3c27bb;
/* rgb */ color: rgb(60, 39, 187);
/* oklch */ color: oklch(41.5% 0.214 277.9);
Tailwind
colors: {
  custom: {
    50: '#8466d1',
    500: '#3c27bb',
    950: '#000000',
  },
}
SCSS
$custom: #3c27bb;
$custom-light: #8466d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c27bb",
  "rgb": {
    "r": 60,
    "g": 39,
    "b": 187
  },
  "hsl": {
    "h": 248.514,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41455,
    "c": 0.21425,
    "h": 277.9
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#3C27BB
secondary
#BECB73
accent
#E83FD0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3C27BB

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

Preview Lab → · Contrast checker → · Palette generator →

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