#3C27AE#3C27AE

#3C27AE is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.1% C 0.199 H 279.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3C27AE
RGBrgb(60, 39, 174)
HSLhsl(249, 63%, 42%)
HSVhsv(249, 78%, 68%)
CMYKcmyk(65.5%, 77.6%, 0%, 31.8%)
CIE-LABlab(28.03, 48.05, -67.99)
CIE-LCHlch(28.03, 83.25, 305.25°)
OKLaboklab(40.08% 0.033 -0.1963)
OKLCHoklch(40.08% 0.199 279.6)
XYZxyz(10.2265, 5.4669, 40.5525)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C27AE #99AE27
analogous
#2756AE #3C27AE #8027AE
triadic
#3C27AE #AE3C27 #27AE3C
tetradic
#3C27AE #AE2756 #99AE27 #27AE80
square
#3C27AE #AE2756 #99AE27 #27AE80
split-complementary
#3C27AE #AE8027 #56AE27
monochromatic
#1A114A #2B1C7C #3C27AE #563ED4 #8270DF

Accessibility & contrast

On white

10.03
#3C27AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C27AE
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C27AE#FFFFFF#000000##FFFFFF
##3C27AE1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3c27ae;
/* rgb */ color: rgb(60, 39, 174);
/* oklch */ color: oklch(40.1% 0.199 279.6);
Tailwind
colors: {
  custom: {
    50: '#8165c7',
    500: '#3c27ae',
    950: '#000000',
  },
}
SCSS
$custom: #3c27ae;
$custom-light: #8165c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c27ae",
  "rgb": {
    "r": 60,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 249.333,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4008,
    "c": 0.19906,
    "h": 279.6
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#3C27AE
secondary
#B8C66B
accent
#E641CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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