#3C31CE#3C31CE

#3C31CE is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.7% C 0.228 H 275.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#3C31CE
RGBrgb(60, 49, 206)
HSLhsl(244, 62%, 50%)
HSVhsv(244, 76%, 81%)
CMYKcmyk(70.9%, 76.2%, 0%, 19.2%)
CIE-LABlab(33.16, 52.77, -78.39)
CIE-LCHlch(33.16, 94.50, 303.95°)
OKLaboklab(44.68% 0.0202 -0.2267)
OKLCHoklch(44.68% 0.228 275.1)
XYZxyz(14.0987, 7.6122, 59.1068)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C31CE #C3CE31
analogous
#3174CE #3C31CE #8B31CE
triadic
#3C31CE #CE3C31 #31CE3C
tetradic
#3C31CE #CE3174 #C3CE31 #31CE8B
square
#3C31CE #CE3174 #C3CE31 #31CE8B
split-complementary
#3C31CE #CE8B31 #74CE31
monochromatic
#1F196B #2E259D #3C31CE #6B62DA #9A94E6

Accessibility & contrast

On white

8.32
#3C31CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3C31CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C31CE
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C31CE#FFFFFF#000000##FFFFFF
##3C31CE1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D2
Deuteranopia (green-blind)
#0047CB
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3c31ce;
/* rgb */ color: rgb(60, 49, 206);
/* oklch */ color: oklch(44.7% 0.228 275.1);
Tailwind
colors: {
  custom: {
    50: '#876cde',
    500: '#3c31ce',
    950: '#000000',
  },
}
SCSS
$custom: #3c31ce;
$custom-light: #876cde;
$custom-dark: #000000;
JSON
{
  "hex": "#3c31ce",
  "rgb": {
    "r": 60,
    "g": 49,
    "b": 206
  },
  "hsl": {
    "h": 244.204,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.44676,
    "c": 0.22758,
    "h": 275.1
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#3C31CE
secondary
#CCD18A
accent
#E543D9
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3C31CE

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

Preview Lab → · Contrast checker → · Palette generator →

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