#3A31BE#3A31BE

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

Color values

HEX#3A31BE
RGBrgb(58, 49, 190)
HSLhsl(244, 59%, 47%)
HSVhsv(244, 74%, 75%)
CMYKcmyk(69.5%, 74.2%, 0%, 25.5%)
CIE-LABlab(31.38, 47.56, -71.98)
CIE-LCHlch(31.38, 86.27, 303.45°)
OKLaboklab(42.89% 0.0211 -0.2081)
OKLCHoklch(42.89% 0.209 275.8)
XYZxyz(12.1344, 6.8127, 49.3807)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A31BE #B5BE31
analogous
#316FBE #3A31BE #8131BE
triadic
#3A31BE #BE3A31 #31BE3A
tetradic
#3A31BE #BE316F #B5BE31 #31BE81
square
#3A31BE #BE316F #B5BE31 #31BE81
split-complementary
#3A31BE #BE8131 #6FBE31
monochromatic
#1C185D #2B248D #3A31BE #6058D4 #8E89E1

Accessibility & contrast

On white

8.89
#3A31BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3A31BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A31BE
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A31BE#FFFFFF#000000##FFFFFF
##3A31BE1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C2
Deuteranopia (green-blind)
#0043BB
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a31be;
/* rgb */ color: rgb(58, 49, 190);
/* oklch */ color: oklch(42.9% 0.209 275.8);
Tailwind
colors: {
  custom: {
    50: '#836bd3',
    500: '#3a31be',
    950: '#000000',
  },
}
SCSS
$custom: #3a31be;
$custom-light: #836bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a31be",
  "rgb": {
    "r": 58,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 243.83,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42892,
    "c": 0.20912,
    "h": 275.8
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#3A31BE
secondary
#C6CA80
accent
#E246D8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A31BE

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

Preview Lab → · Contrast checker → · Palette generator →

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