#3C27AD#3C27AD

#3C27AD is a dark, vivid blue. Relative luminance 0.054; OKLCH L 40.0% C 0.198 H 279.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3C27AD
RGBrgb(60, 39, 173)
HSLhsl(249, 63%, 42%)
HSVhsv(249, 77%, 68%)
CMYKcmyk(65.3%, 77.5%, 0%, 32.2%)
CIE-LABlab(27.92, 47.74, -67.56)
CIE-LCHlch(27.92, 82.73, 305.25°)
OKLaboklab(39.98% 0.0333 -0.1951)
OKLCHoklch(39.98% 0.198 279.7)
XYZxyz(10.1294, 5.4280, 40.0410)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C27AD #98AD27
analogous
#2755AD #3C27AD #7F27AD
triadic
#3C27AD #AD3C27 #27AD3C
tetradic
#3C27AD #AD2755 #98AD27 #27AD7F
square
#3C27AD #AD2755 #98AD27 #27AD7F
split-complementary
#3C27AD #AD7F27 #55AD27
monochromatic
#191049 #2B1C7B #3C27AD #553ED3 #8170DF

Accessibility & contrast

On white

10.07
#3C27AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3C27AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C27AD
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C27AD#FFFFFF#000000##FFFFFF
##3C27AD1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B1
Deuteranopia (green-blind)
#003DAB
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3c27ad;
/* rgb */ color: rgb(60, 39, 173);
/* oklch */ color: oklch(40.0% 0.198 279.7);
Tailwind
colors: {
  custom: {
    50: '#8165c7',
    500: '#3c27ad',
    950: '#000000',
  },
}
SCSS
$custom: #3c27ad;
$custom-light: #8165c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c27ad",
  "rgb": {
    "r": 60,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 249.403,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39976,
    "c": 0.19788,
    "h": 279.7
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#3C27AD
secondary
#B7C66A
accent
#E642CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C27AD

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

Preview Lab → · Contrast checker → · Palette generator →

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