#3B31CA#3B31CA

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

Color values

HEX#3B31CA
RGBrgb(59, 49, 202)
HSLhsl(244, 61%, 49%)
HSVhsv(244, 76%, 79%)
CMYKcmyk(70.8%, 75.7%, 0%, 20.8%)
CIE-LABlab(32.68, 51.44, -76.86)
CIE-LCHlch(32.68, 92.49, 303.79°)
OKLaboklab(44.2% 0.0198 -0.2223)
OKLCHoklch(44.2% 0.223 275.1)
XYZxyz(13.5591, 7.3894, 56.5774)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B31CA #C0CA31
analogous
#3173CA #3B31CA #8831CA
triadic
#3B31CA #CA3B31 #31CA3B
tetradic
#3B31CA #CA3173 #C0CA31 #31CA88
square
#3B31CA #CA3173 #C0CA31 #31CA88
split-complementary
#3B31CA #CA8831 #73CA31
monochromatic
#1E1967 #2D2599 #3B31CA #6860D8 #9791E4

Accessibility & contrast

On white

8.47
#3B31CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3B31CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B31CA
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B31CA#FFFFFF#000000##FFFFFF
##3B31CA1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CE
Deuteranopia (green-blind)
#0046C7
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3b31ca;
/* rgb */ color: rgb(59, 49, 202);
/* oklch */ color: oklch(44.2% 0.223 275.1);
Tailwind
colors: {
  custom: {
    50: '#866cdc',
    500: '#3b31ca',
    950: '#000000',
  },
}
SCSS
$custom: #3b31ca;
$custom-light: #866cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b31ca",
  "rgb": {
    "r": 59,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 243.922,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44195,
    "c": 0.22314,
    "h": 275.1
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#3B31CA
secondary
#CACF88
accent
#E444DA
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3B31CA

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

Preview Lab → · Contrast checker → · Palette generator →

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