#3B31BC#3B31BC

#3B31BC is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.8% C 0.206 H 276.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#3B31BC
RGBrgb(59, 49, 188)
HSLhsl(244, 59%, 46%)
HSVhsv(244, 74%, 74%)
CMYKcmyk(68.6%, 73.9%, 0%, 26.3%)
CIE-LABlab(31.25, 47.02, -71.01)
CIE-LCHlch(31.25, 85.17, 303.51°)
OKLaboklab(42.76% 0.0228 -0.2052)
OKLCHoklch(42.76% 0.206 276.3)
XYZxyz(11.9761, 6.7562, 48.2401)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B31BC #B2BC31
analogous
#316CBC #3B31BC #8131BC
triadic
#3B31BC #BC3B31 #31BC3B
tetradic
#3B31BC #BC316C #B2BC31 #31BC81
square
#3B31BC #BC316C #B2BC31 #31BC81
split-complementary
#3B31BC #BC8131 #6CBC31
monochromatic
#1D185B #2C248B #3B31BC #6057D3 #8E88E0

Accessibility & contrast

On white

8.93
#3B31BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3B31BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B31BC
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B31BC#FFFFFF#000000##FFFFFF
##3B31BC1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC0
Deuteranopia (green-blind)
#0043B9
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3b31bc;
/* rgb */ color: rgb(59, 49, 188);
/* oklch */ color: oklch(42.8% 0.206 276.3);
Tailwind
colors: {
  custom: {
    50: '#836bd1',
    500: '#3b31bc',
    950: '#000000',
  },
}
SCSS
$custom: #3b31bc;
$custom-light: #836bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b31bc",
  "rgb": {
    "r": 59,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 244.317,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42757,
    "c": 0.20648,
    "h": 276.3
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#3B31BC
secondary
#C4CA7F
accent
#E246D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3B31BC

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

Preview Lab → · Contrast checker → · Palette generator →

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