#3C27AA#3C27AA

#3C27AA is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.7% C 0.194 H 280.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#3C27AA
RGBrgb(60, 39, 170)
HSLhsl(250, 63%, 41%)
HSVhsv(250, 77%, 67%)
CMYKcmyk(64.7%, 77.1%, 0%, 33.3%)
CIE-LABlab(27.61, 46.83, -66.27)
CIE-LCHlch(27.61, 81.15, 305.24°)
OKLaboklab(39.66% 0.0341 -0.1913)
OKLCHoklch(39.66% 0.194 280.1)
XYZxyz(9.8424, 5.3132, 38.5293)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C27AA #95AA27
analogous
#2754AA #3C27AA #7D27AA
triadic
#3C27AA #AA3C27 #27AA3C
tetradic
#3C27AA #AA2754 #95AA27 #27AA7D
square
#3C27AA #AA2754 #95AA27 #27AA7D
split-complementary
#3C27AA #AA7D27 #54AA27
monochromatic
#191046 #2A1C78 #3C27AA #543CD2 #806EDE

Accessibility & contrast

On white

10.18
#3C27AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3C27AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C27AA
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C27AA#FFFFFF#000000##FFFFFF
##3C27AA1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3c27aa;
/* rgb */ color: rgb(60, 39, 170);
/* oklch */ color: oklch(39.7% 0.194 280.1);
Tailwind
colors: {
  custom: {
    50: '#8165c5',
    500: '#3c27aa',
    950: '#000000',
  },
}
SCSS
$custom: #3c27aa;
$custom-light: #8165c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c27aa",
  "rgb": {
    "r": 60,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 249.618,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39664,
    "c": 0.19431,
    "h": 280.1
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#3C27AA
secondary
#B6C469
accent
#E642CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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