#3B31BE#3B31BE

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

Color values

HEX#3B31BE
RGBrgb(59, 49, 190)
HSLhsl(244, 59%, 47%)
HSVhsv(244, 74%, 75%)
CMYKcmyk(68.9%, 74.2%, 0%, 25.5%)
CIE-LABlab(31.45, 47.66, -71.86)
CIE-LCHlch(31.45, 86.23, 303.55°)
OKLaboklab(42.96% 0.0223 -0.2077)
OKLCHoklch(42.96% 0.209 276.1)
XYZxyz(12.1932, 6.8430, 49.3835)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B31BE #B4BE31
analogous
#316EBE #3B31BE #8131BE
triadic
#3B31BE #BE3B31 #31BE3B
tetradic
#3B31BE #BE316E #B4BE31 #31BE81
square
#3B31BE #BE316E #B4BE31 #31BE81
split-complementary
#3B31BE #BE8131 #6EBE31
monochromatic
#1D185D #2C248D #3B31BE #6158D4 #8F89E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B31BE#FFFFFF#000000##FFFFFF
##3B31BE1.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)
#0050C2
Deuteranopia (green-blind)
#0044BB
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3b31be;
/* rgb */ color: rgb(59, 49, 190);
/* oklch */ color: oklch(43.0% 0.209 276.1);
Tailwind
colors: {
  custom: {
    50: '#836bd3',
    500: '#3b31be',
    950: '#000000',
  },
}
SCSS
$custom: #3b31be;
$custom-light: #836bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b31be",
  "rgb": {
    "r": 59,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 244.255,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4296,
    "c": 0.20889,
    "h": 276.1
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B31BE

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

Preview Lab → · Contrast checker → · Palette generator →

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