#3D31BD#3D31BD

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

Color values

HEX#3D31BD
RGBrgb(61, 49, 189)
HSLhsl(245, 59%, 47%)
HSVhsv(245, 74%, 74%)
CMYKcmyk(67.7%, 74.1%, 0%, 25.9%)
CIE-LABlab(31.49, 47.55, -71.19)
CIE-LCHlch(31.49, 85.61, 303.74°)
OKLaboklab(43% 0.0252 -0.2057)
OKLCHoklch(43% 0.207 277)
XYZxyz(12.2051, 6.8618, 48.8155)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D31BD #B1BD31
analogous
#316BBD #3D31BD #8331BD
triadic
#3D31BD #BD3D31 #31BD3D
tetradic
#3D31BD #BD316B #B1BD31 #31BD83
square
#3D31BD #BD316B #B1BD31 #31BD83
split-complementary
#3D31BD #BD8331 #6BBD31
monochromatic
#1E185C #2D248C #3D31BD #6258D4 #9088E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D31BD#FFFFFF#000000##FFFFFF
##3D31BD1.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)
#0050C1
Deuteranopia (green-blind)
#0044BA
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d31bd;
/* rgb */ color: rgb(61, 49, 189);
/* oklch */ color: oklch(43.0% 0.207 277.0);
Tailwind
colors: {
  custom: {
    50: '#846bd2',
    500: '#3d31bd',
    950: '#000000',
  },
}
SCSS
$custom: #3d31bd;
$custom-light: #846bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d31bd",
  "rgb": {
    "r": 61,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 245.143,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42997,
    "c": 0.20723,
    "h": 277
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D31BD

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

Preview Lab → · Contrast checker → · Palette generator →

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