#3C31CA#3C31CA

#3C31CA is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.3% C 0.223 H 275.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3C31CA
RGBrgb(60, 49, 202)
HSLhsl(244, 61%, 49%)
HSVhsv(244, 76%, 79%)
CMYKcmyk(70.3%, 75.7%, 0%, 20.8%)
CIE-LABlab(32.75, 51.53, -76.75)
CIE-LCHlch(32.75, 92.44, 303.88°)
OKLaboklab(44.26% 0.0211 -0.2219)
OKLCHoklch(44.26% 0.223 275.4)
XYZxyz(13.6190, 7.4203, 56.5802)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C31CA #BFCA31
analogous
#3173CA #3C31CA #8931CA
triadic
#3C31CA #CA3C31 #31CA3C
tetradic
#3C31CA #CA3173 #BFCA31 #31CA89
square
#3C31CA #CA3173 #BFCA31 #31CA89
split-complementary
#3C31CA #CA8931 #73CA31
monochromatic
#1F1967 #2D2599 #3C31CA #6860D8 #9791E4

Accessibility & contrast

On white

8.45
#3C31CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3C31CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C31CA
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C31CA#FFFFFF#000000##FFFFFF
##3C31CA1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CE
Deuteranopia (green-blind)
#0046C7
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3c31ca;
/* rgb */ color: rgb(60, 49, 202);
/* oklch */ color: oklch(44.3% 0.223 275.4);
Tailwind
colors: {
  custom: {
    50: '#866cdc',
    500: '#3c31ca',
    950: '#000000',
  },
}
SCSS
$custom: #3c31ca;
$custom-light: #866cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c31ca",
  "rgb": {
    "r": 60,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 244.314,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.4426,
    "c": 0.22291,
    "h": 275.4
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

primary
#3C31CA
secondary
#CACF88
accent
#E444D9
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3C31CA

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

Preview Lab → · Contrast checker → · Palette generator →

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