#3C31BF#3C31BF

#3C31BF is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.1% C 0.210 H 276.4°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#3C31BF
RGBrgb(60, 49, 191)
HSLhsl(245, 59%, 47%)
HSVhsv(245, 74%, 75%)
CMYKcmyk(68.6%, 74.3%, 0%, 25.1%)
CIE-LABlab(31.62, 48.08, -72.16)
CIE-LCHlch(31.62, 86.71, 303.68°)
OKLaboklab(43.13% 0.0234 -0.2085)
OKLCHoklch(43.13% 0.21 276.4)
XYZxyz(12.3627, 6.9178, 49.9639)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C31BF #B4BF31
analogous
#316DBF #3C31BF #8331BF
triadic
#3C31BF #BF3C31 #31BF3C
tetradic
#3C31BF #BF316D #B4BF31 #31BF83
square
#3C31BF #BF316D #B4BF31 #31BF83
split-complementary
#3C31BF #BF8331 #6DBF31
monochromatic
#1D185E #2D258E #3C31BF #6259D4 #908AE1

Accessibility & contrast

On white

8.81
#3C31BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3C31BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C31BF
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C31BF#FFFFFF#000000##FFFFFF
##3C31BF1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C3
Deuteranopia (green-blind)
#0044BC
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3c31bf;
/* rgb */ color: rgb(60, 49, 191);
/* oklch */ color: oklch(43.1% 0.210 276.4);
Tailwind
colors: {
  custom: {
    50: '#846bd4',
    500: '#3c31bf',
    950: '#000000',
  },
}
SCSS
$custom: #3c31bf;
$custom-light: #846bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c31bf",
  "rgb": {
    "r": 60,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 244.648,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4313,
    "c": 0.20986,
    "h": 276.4
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#3C31BF
secondary
#C5CB81
accent
#E245D6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3C31BF

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

Preview Lab → · Contrast checker → · Palette generator →

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