#3D31BE#3D31BE

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

Color values

HEX#3D31BE
RGBrgb(61, 49, 190)
HSLhsl(245, 59%, 47%)
HSVhsv(245, 74%, 75%)
CMYKcmyk(67.9%, 74.2%, 0%, 25.5%)
CIE-LABlab(31.59, 47.87, -71.62)
CIE-LCHlch(31.59, 86.14, 303.76°)
OKLaboklab(43.1% 0.0249 -0.2069)
OKLCHoklch(43.1% 0.208 276.9)
XYZxyz(12.3140, 6.9053, 49.3891)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D31BE #B2BE31
analogous
#316CBE #3D31BE #8331BE
triadic
#3D31BE #BE3D31 #31BE3D
tetradic
#3D31BE #BE316C #B2BE31 #31BE83
square
#3D31BE #BE316C #B2BE31 #31BE83
split-complementary
#3D31BE #BE8331 #6CBE31
monochromatic
#1E185D #2D248D #3D31BE #6358D4 #9089E1

Accessibility & contrast

On white

8.82
#3D31BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D31BE
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D31BE#FFFFFF#000000##FFFFFF
##3D31BE1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C2
Deuteranopia (green-blind)
#0044BB
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d31be;
/* rgb */ color: rgb(61, 49, 190);
/* oklch */ color: oklch(43.1% 0.208 276.9);
Tailwind
colors: {
  custom: {
    50: '#846bd3',
    500: '#3d31be',
    950: '#000000',
  },
}
SCSS
$custom: #3d31be;
$custom-light: #846bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d31be",
  "rgb": {
    "r": 61,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 245.106,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43098,
    "c": 0.20843,
    "h": 276.9
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#3D31BE
secondary
#C4CA80
accent
#E246D5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3D31BE

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

Preview Lab → · Contrast checker → · Palette generator →

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