#3C27AF#3C27AF

#3C27AF is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.200 H 279.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#3C27AF
RGBrgb(60, 39, 175)
HSLhsl(249, 64%, 42%)
HSVhsv(249, 78%, 69%)
CMYKcmyk(65.7%, 77.7%, 0%, 31.4%)
CIE-LABlab(28.13, 48.35, -68.42)
CIE-LCHlch(28.13, 83.78, 305.25°)
OKLaboklab(40.18% 0.0328 -0.1975)
OKLCHoklch(40.18% 0.2 279.4)
XYZxyz(10.3244, 5.5060, 41.0678)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C27AF #9AAF27
analogous
#2756AF #3C27AF #8027AF
triadic
#3C27AF #AF3C27 #27AF3C
tetradic
#3C27AF #AF2756 #9AAF27 #27AF80
square
#3C27AF #AF2756 #9AAF27 #27AF80
split-complementary
#3C27AF #AF8027 #56AF27
monochromatic
#1A114B #2B1C7D #3C27AF #563FD4 #8271DF

Accessibility & contrast

On white

9.99
#3C27AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3C27AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C27AF
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C27AF#FFFFFF#000000##FFFFFF
##3C27AF1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c27af;
/* rgb */ color: rgb(60, 39, 175);
/* oklch */ color: oklch(40.2% 0.200 279.4);
Tailwind
colors: {
  custom: {
    50: '#8265c8',
    500: '#3c27af',
    950: '#000000',
  },
}
SCSS
$custom: #3c27af;
$custom-light: #8265c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c27af",
  "rgb": {
    "r": 60,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 249.265,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40184,
    "c": 0.20024,
    "h": 279.4
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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