#3C31C5#3C31C5

#3C31C5 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.7% C 0.217 H 275.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3C31C5
RGBrgb(60, 49, 197)
HSLhsl(244, 60%, 48%)
HSVhsv(244, 75%, 77%)
CMYKcmyk(69.5%, 75.1%, 0%, 22.7%)
CIE-LABlab(32.23, 49.97, -74.68)
CIE-LCHlch(32.23, 89.85, 303.79°)
OKLaboklab(43.74% 0.0222 -0.2159)
OKLCHoklch(43.74% 0.217 275.9)
XYZxyz(13.0365, 7.1873, 53.5128)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C31C5 #BAC531
analogous
#3170C5 #3C31C5 #8631C5
triadic
#3C31C5 #C53C31 #31C53C
tetradic
#3C31C5 #C53170 #BAC531 #31C586
square
#3C31C5 #C53170 #BAC531 #31C586
split-complementary
#3C31C5 #C58631 #70C531
monochromatic
#1E1963 #2D2594 #3C31C5 #665DD7 #948EE3

Accessibility & contrast

On white

8.61
#3C31C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3C31C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C31C5
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C31C5#FFFFFF#000000##FFFFFF
##3C31C51.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C9
Deuteranopia (green-blind)
#0045C2
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3c31c5;
/* rgb */ color: rgb(60, 49, 197);
/* oklch */ color: oklch(43.7% 0.217 275.9);
Tailwind
colors: {
  custom: {
    50: '#856cd8',
    500: '#3c31c5',
    950: '#000000',
  },
}
SCSS
$custom: #3c31c5;
$custom-light: #856cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c31c5",
  "rgb": {
    "r": 60,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 244.459,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43743,
    "c": 0.21702,
    "h": 275.9
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

primary
#3C31C5
secondary
#C8CD85
accent
#E344D8
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3C31C5

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

Preview Lab → · Contrast checker → · Palette generator →

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