#3C31E2#3C31E2

#3C31E2 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.8% C 0.250 H 273.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3C31E2
RGBrgb(60, 49, 226)
HSLhsl(244, 75%, 54%)
HSVhsv(244, 78%, 89%)
CMYKcmyk(73.5%, 78.3%, 0%, 11.4%)
CIE-LABlab(35.29, 58.86, -86.39)
CIE-LCHlch(35.29, 104.53, 304.27°)
OKLaboklab(46.8% 0.0157 -0.2499)
OKLCHoklch(46.8% 0.25 273.6)
XYZxyz(16.6847, 8.6466, 72.7264)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C31E2 #D7E231
analogous
#317FE2 #3C31E2 #9531E2
triadic
#3C31E2 #E23C31 #31E23C
tetradic
#3C31E2 #E2317F #D7E231 #31E295
square
#3C31E2 #E2317F #D7E231 #31E295
split-complementary
#3C31E2 #E29531 #7FE231
monochromatic
#1A1386 #241ABB #3C31E2 #6F67EA #A29CF1

Accessibility & contrast

On white

7.69
#3C31E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3C31E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C31E2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C31E2#FFFFFF#000000##FFFFFF
##3C31E21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE7
Deuteranopia (green-blind)
#004ADF
Tritanopia (blue-blind)
#00688A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3c31e2;
/* rgb */ color: rgb(60, 49, 226);
/* oklch */ color: oklch(46.8% 0.250 273.6);
Tailwind
colors: {
  custom: {
    50: '#8c6ded',
    500: '#3c31e2',
    950: '#000000',
  },
}
SCSS
$custom: #3c31e2;
$custom-light: #8c6ded;
$custom-dark: #000000;
JSON
{
  "hex": "#3c31e2",
  "rgb": {
    "r": 60,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 243.729,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.46796,
    "c": 0.25041,
    "h": 273.6
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

primary
#3C31E2
secondary
#D8DD92
accent
#F236E6
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #3C31E2

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

Preview Lab → · Contrast checker → · Palette generator →

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