#3C27BA#3C27BA

#3C27BA is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.3% C 0.213 H 278.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#3C27BA
RGBrgb(60, 39, 186)
HSLhsl(249, 65%, 44%)
HSVhsv(249, 79%, 73%)
CMYKcmyk(67.7%, 79%, 0%, 27.1%)
CIE-LABlab(29.30, 51.67, -73.04)
CIE-LCHlch(29.30, 89.47, 305.28°)
OKLaboklab(41.35% 0.0298 -0.211)
OKLCHoklch(41.35% 0.213 278)
XYZxyz(11.4491, 5.9559, 46.9911)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C27BA #A5BA27
analogous
#275CBA #3C27BA #8527BA
triadic
#3C27BA #BA3C27 #27BA3C
tetradic
#3C27BA #BA275C #A5BA27 #27BA85
square
#3C27BA #BA275C #A5BA27 #27BA85
split-complementary
#3C27BA #BA8527 #5CBA27
monochromatic
#1B1255 #2C1C87 #3C27BA #5B46D8 #8879E3

Accessibility & contrast

On white

9.58
#3C27BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3C27BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C27BA
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C27BA#FFFFFF#000000##FFFFFF
##3C27BA1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3c27ba;
/* rgb */ color: rgb(60, 39, 186);
/* oklch */ color: oklch(41.3% 0.213 278.0);
Tailwind
colors: {
  custom: {
    50: '#8465d0',
    500: '#3c27ba',
    950: '#000000',
  },
}
SCSS
$custom: #3c27ba;
$custom-light: #8465d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c27ba",
  "rgb": {
    "r": 60,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 248.571,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41348,
    "c": 0.21309,
    "h": 278
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#3C27BA
secondary
#BECB72
accent
#E840D0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3C27BA

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

Preview Lab → · Contrast checker → · Palette generator →

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