#3B31BF#3B31BF

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

Color values

HEX#3B31BF
RGBrgb(59, 49, 191)
HSLhsl(244, 59%, 47%)
HSVhsv(244, 74%, 75%)
CMYKcmyk(69.1%, 74.3%, 0%, 25.1%)
CIE-LABlab(31.55, 47.98, -72.28)
CIE-LCHlch(31.55, 86.75, 303.57°)
OKLaboklab(43.06% 0.0221 -0.2089)
OKLCHoklch(43.06% 0.21 276)
XYZxyz(12.3028, 6.8869, 49.9611)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B31BF #B5BF31
analogous
#316EBF #3B31BF #8231BF
triadic
#3B31BF #BF3B31 #31BF3B
tetradic
#3B31BF #BF316E #B5BF31 #31BF82
square
#3B31BF #BF316E #B5BF31 #31BF82
split-complementary
#3B31BF #BF8231 #6EBF31
monochromatic
#1D185E #2C258E #3B31BF #6259D4 #908AE1

Accessibility & contrast

On white

8.83
#3B31BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B31BF
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B31BF#FFFFFF#000000##FFFFFF
##3B31BF1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.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: #3b31bf;
/* rgb */ color: rgb(59, 49, 191);
/* oklch */ color: oklch(43.1% 0.210 276.0);
Tailwind
colors: {
  custom: {
    50: '#846bd4',
    500: '#3b31bf',
    950: '#000000',
  },
}
SCSS
$custom: #3b31bf;
$custom-light: #846bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b31bf",
  "rgb": {
    "r": 59,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 244.225,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43062,
    "c": 0.21009,
    "h": 276
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#3B31BF
secondary
#C6CB81
accent
#E245D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3B31BF

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

Preview Lab → · Contrast checker → · Palette generator →

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