#3C27A8#3C27A8

#3C27A8 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.5% C 0.192 H 280.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#3C27A8
RGBrgb(60, 39, 168)
HSLhsl(250, 62%, 41%)
HSVhsv(250, 77%, 66%)
CMYKcmyk(64.3%, 76.8%, 0%, 34.1%)
CIE-LABlab(27.40, 46.21, -65.41)
CIE-LCHlch(27.40, 80.09, 305.24°)
OKLaboklab(39.46% 0.0346 -0.1888)
OKLCHoklch(39.46% 0.192 280.4)
XYZxyz(9.6546, 5.2381, 37.5405)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C27A8 #93A827
analogous
#2753A8 #3C27A8 #7C27A8
triadic
#3C27A8 #A83C27 #27A83C
tetradic
#3C27A8 #A82753 #93A827 #27A87C
square
#3C27A8 #A82753 #93A827 #27A87C
split-complementary
#3C27A8 #A87C27 #53A827
monochromatic
#191045 #2A1B76 #3C27A8 #533BD1 #7F6CDD

Accessibility & contrast

On white

10.25
#3C27A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3C27A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C27A8
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C27A8#FFFFFF#000000##FFFFFF
##3C27A81.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3c27a8;
/* rgb */ color: rgb(60, 39, 168);
/* oklch */ color: oklch(39.5% 0.192 280.4);
Tailwind
colors: {
  custom: {
    50: '#8064c3',
    500: '#3c27a8',
    950: '#000000',
  },
}
SCSS
$custom: #3c27a8;
$custom-light: #8064c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c27a8",
  "rgb": {
    "r": 60,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 249.767,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39457,
    "c": 0.19192,
    "h": 280.4
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#3C27A8
secondary
#B4C367
accent
#E542CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3C27A8

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

Preview Lab → · Contrast checker → · Palette generator →

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