#3C31C9#3C31C9

#3C31C9 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.2% C 0.222 H 275.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#3C31C9
RGBrgb(60, 49, 201)
HSLhsl(244, 61%, 49%)
HSVhsv(244, 76%, 79%)
CMYKcmyk(70.1%, 75.6%, 0%, 21.2%)
CIE-LABlab(32.64, 51.22, -76.34)
CIE-LCHlch(32.64, 91.93, 303.86°)
OKLaboklab(44.16% 0.0213 -0.2207)
OKLCHoklch(44.16% 0.222 275.5)
XYZxyz(13.5009, 7.3731, 55.9587)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C31C9 #BEC931
analogous
#3172C9 #3C31C9 #8831C9
triadic
#3C31C9 #C93C31 #31C93C
tetradic
#3C31C9 #C93172 #BEC931 #31C988
square
#3C31C9 #C93172 #BEC931 #31C988
split-complementary
#3C31C9 #C98831 #72C931
monochromatic
#1F1967 #2D2598 #3C31C9 #685FD8 #9690E4

Accessibility & contrast

On white

8.49
#3C31C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3C31C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C31C9
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C31C9#FFFFFF#000000##FFFFFF
##3C31C91.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CD
Deuteranopia (green-blind)
#0046C6
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3c31c9;
/* rgb */ color: rgb(60, 49, 201);
/* oklch */ color: oklch(44.2% 0.222 275.5);
Tailwind
colors: {
  custom: {
    50: '#866cdb',
    500: '#3c31c9',
    950: '#000000',
  },
}
SCSS
$custom: #3c31c9;
$custom-light: #866cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3c31c9",
  "rgb": {
    "r": 60,
    "g": 49,
    "b": 201
  },
  "hsl": {
    "h": 244.342,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44156,
    "c": 0.22174,
    "h": 275.5
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#3C31C9
secondary
#CACF87
accent
#E444D8
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3C31C9

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

Preview Lab → · Contrast checker → · Palette generator →

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