#3A31BF#3A31BF

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

Color values

HEX#3A31BF
RGBrgb(58, 49, 191)
HSLhsl(244, 59%, 47%)
HSVhsv(244, 74%, 75%)
CMYKcmyk(69.6%, 74.3%, 0%, 25.1%)
CIE-LABlab(31.48, 47.87, -72.40)
CIE-LCHlch(31.48, 86.80, 303.48°)
OKLaboklab(42.99% 0.0209 -0.2093)
OKLCHoklch(42.99% 0.21 275.7)
XYZxyz(12.2441, 6.8566, 49.9583)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A31BF #B6BF31
analogous
#316FBF #3A31BF #8131BF
triadic
#3A31BF #BF3A31 #31BF3A
tetradic
#3A31BF #BF316F #B6BF31 #31BF81
square
#3A31BF #BF316F #B6BF31 #31BF81
split-complementary
#3A31BF #BF8131 #6FBF31
monochromatic
#1C185E #2B258E #3A31BF #6159D4 #8F8AE1

Accessibility & contrast

On white

8.85
#3A31BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A31BF
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A31BF#FFFFFF#000000##FFFFFF
##3A31BF1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.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: #3a31bf;
/* rgb */ color: rgb(58, 49, 191);
/* oklch */ color: oklch(43.0% 0.210 275.7);
Tailwind
colors: {
  custom: {
    50: '#836bd4',
    500: '#3a31bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a31bf;
$custom-light: #836bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a31bf",
  "rgb": {
    "r": 58,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 243.803,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.42994,
    "c": 0.21033,
    "h": 275.7
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A31BF

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

Preview Lab → · Contrast checker → · Palette generator →

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