#3C31BD#3C31BD

#3C31BD is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.9% C 0.207 H 276.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#3C31BD
RGBrgb(60, 49, 189)
HSLhsl(245, 59%, 47%)
HSVhsv(245, 74%, 74%)
CMYKcmyk(68.3%, 74.1%, 0%, 25.9%)
CIE-LABlab(31.42, 47.45, -71.31)
CIE-LCHlch(31.42, 85.66, 303.64°)
OKLaboklab(42.93% 0.0238 -0.2061)
OKLCHoklch(42.93% 0.207 276.6)
XYZxyz(12.1441, 6.8303, 48.8126)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C31BD #B2BD31
analogous
#316CBD #3C31BD #8231BD
triadic
#3C31BD #BD3C31 #31BD3C
tetradic
#3C31BD #BD316C #B2BD31 #31BD82
square
#3C31BD #BD316C #B2BD31 #31BD82
split-complementary
#3C31BD #BD8231 #6CBD31
monochromatic
#1D185C #2D248C #3C31BD #6158D4 #8F88E0

Accessibility & contrast

On white

8.87
#3C31BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3C31BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C31BD
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C31BD#FFFFFF#000000##FFFFFF
##3C31BD1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0044BA
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3c31bd;
/* rgb */ color: rgb(60, 49, 189);
/* oklch */ color: oklch(42.9% 0.207 276.6);
Tailwind
colors: {
  custom: {
    50: '#846bd2',
    500: '#3c31bd',
    950: '#000000',
  },
}
SCSS
$custom: #3c31bd;
$custom-light: #846bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c31bd",
  "rgb": {
    "r": 60,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 244.714,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42927,
    "c": 0.20745,
    "h": 276.6
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#3C31BD
secondary
#C4CA80
accent
#E246D6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3C31BD

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

Preview Lab → · Contrast checker → · Palette generator →

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