#3931AB#3931AB

#3931AB is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.186 H 277.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#3931AB
RGBrgb(57, 49, 171)
HSLhsl(244, 55%, 43%)
HSVhsv(244, 71%, 67%)
CMYKcmyk(66.7%, 71.3%, 0%, 32.9%)
CIE-LABlab(29.43, 41.28, -63.89)
CIE-LCHlch(29.43, 76.07, 302.87°)
OKLaboklab(40.92% 0.0233 -0.1845)
OKLCHoklch(40.92% 0.186 277.2)
XYZxyz(10.1340, 6.0059, 39.1454)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3931AB #A3AB31
analogous
#3166AB #3931AB #7631AB
triadic
#3931AB #AB3931 #31AB39
tetradic
#3931AB #AB3166 #A3AB31 #31AB76
square
#3931AB #AB3166 #A3AB31 #31AB76
split-complementary
#3931AB #AB7631 #66AB31
monochromatic
#19164C #29237B #3931AB #554DCC #837DDA

Accessibility & contrast

On white

9.54
#3931AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3931AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3931AB
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3931AB#FFFFFF#000000##FFFFFF
##3931AB1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3931ab;
/* rgb */ color: rgb(57, 49, 171);
/* oklch */ color: oklch(40.9% 0.186 277.2);
Tailwind
colors: {
  custom: {
    50: '#7f6ac5',
    500: '#3931ab',
    950: '#000000',
  },
}
SCSS
$custom: #3931ab;
$custom-light: #7f6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3931ab",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 243.934,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40921,
    "c": 0.18596,
    "h": 277.2
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#3931AB
secondary
#BDC275
accent
#DF49D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3931AB

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

Preview Lab → · Contrast checker → · Palette generator →

#3931AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva