#3C27B2#3C27B2

#3C27B2 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.5% C 0.204 H 279.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#3C27B2
RGBrgb(60, 39, 178)
HSLhsl(249, 64%, 43%)
HSVhsv(249, 78%, 70%)
CMYKcmyk(66.3%, 78.1%, 0%, 30.2%)
CIE-LABlab(28.45, 49.26, -69.69)
CIE-LCHlch(28.45, 85.34, 305.26°)
OKLaboklab(40.5% 0.032 -0.2013)
OKLCHoklch(40.5% 0.204 279)
XYZxyz(10.6223, 5.6252, 42.6368)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C27B2 #9DB227
analogous
#2757B2 #3C27B2 #8227B2
triadic
#3C27B2 #B23C27 #27B23C
tetradic
#3C27B2 #B22757 #9DB227 #27B282
square
#3C27B2 #B22757 #9DB227 #27B282
split-complementary
#3C27B2 #B28227 #57B227
monochromatic
#1A114E #2B1C80 #3C27B2 #5741D5 #8473E0

Accessibility & contrast

On white

9.88
#3C27B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3C27B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C27B2
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C27B2#FFFFFF#000000##FFFFFF
##3C27B21.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3c27b2;
/* rgb */ color: rgb(60, 39, 178);
/* oklch */ color: oklch(40.5% 0.204 279.0);
Tailwind
colors: {
  custom: {
    50: '#8265ca',
    500: '#3c27b2',
    950: '#000000',
  },
}
SCSS
$custom: #3c27b2;
$custom-light: #8265ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3c27b2",
  "rgb": {
    "r": 60,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 249.065,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40499,
    "c": 0.20377,
    "h": 279
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#3C27B2
secondary
#BAC86D
accent
#E741CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C27B2

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

Preview Lab → · Contrast checker → · Palette generator →

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