#3931AA#3931AA

#3931AA is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.185 H 277.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#3931AA
RGBrgb(57, 49, 170)
HSLhsl(244, 55%, 43%)
HSVhsv(244, 71%, 67%)
CMYKcmyk(66.5%, 71.2%, 0%, 33.3%)
CIE-LABlab(29.33, 40.96, -63.45)
CIE-LCHlch(29.33, 75.52, 302.84°)
OKLaboklab(40.82% 0.0235 -0.1832)
OKLCHoklch(40.82% 0.185 277.3)
XYZxyz(10.0390, 5.9679, 38.6453)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3931AA #A2AA31
analogous
#3165AA #3931AA #7531AA
triadic
#3931AA #AA3931 #31AA39
tetradic
#3931AA #AA3165 #A2AA31 #31AA75
square
#3931AA #AA3165 #A2AA31 #31AA75
split-complementary
#3931AA #AA7531 #65AA31
monochromatic
#19164B #29237A #3931AA #554DCC #827CD9

Accessibility & contrast

On white

9.57
#3931AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3931AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3931AA#FFFFFF#000000##FFFFFF
##3931AA1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3931aa;
/* rgb */ color: rgb(57, 49, 170);
/* oklch */ color: oklch(40.8% 0.185 277.3);
Tailwind
colors: {
  custom: {
    50: '#7e6ac4',
    500: '#3931aa',
    950: '#000000',
  },
}
SCSS
$custom: #3931aa;
$custom-light: #7e6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3931aa",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 243.967,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40824,
    "c": 0.18469,
    "h": 277.3
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3931AA

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

Preview Lab → · Contrast checker → · Palette generator →

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