#3931A6#3931A6

#3931A6 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.180 H 277.7°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#3931A6
RGBrgb(57, 49, 166)
HSLhsl(244, 54%, 42%)
HSVhsv(244, 70%, 65%)
CMYKcmyk(65.7%, 70.5%, 0%, 34.9%)
CIE-LABlab(28.95, 39.63, -61.66)
CIE-LCHlch(28.95, 73.30, 302.73°)
OKLaboklab(40.44% 0.0242 -0.178)
OKLCHoklch(40.44% 0.18 277.7)
XYZxyz(9.6664, 5.8189, 36.6828)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3931A6 #9EA631
analogous
#3163A6 #3931A6 #7431A6
triadic
#3931A6 #A63931 #31A639
tetradic
#3931A6 #A63163 #9EA631 #31A674
square
#3931A6 #A63163 #9EA631 #31A674
split-complementary
#3931A6 #A67431 #63A631
monochromatic
#191547 #292377 #3931A6 #534ACA #807AD8

Accessibility & contrast

On white

9.70
#3931A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3931A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3931A6#FFFFFF#000000##FFFFFF
##3931A61.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3931a6;
/* rgb */ color: rgb(57, 49, 166);
/* oklch */ color: oklch(40.4% 0.180 277.7);
Tailwind
colors: {
  custom: {
    50: '#7e6ac1',
    500: '#3931a6',
    950: '#000000',
  },
}
SCSS
$custom: #3931a6;
$custom-light: #7e6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#3931a6",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 244.103,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40435,
    "c": 0.17961,
    "h": 277.7
  },
  "luminance": 0.0582
}

Semantic roles & 50–950 ramp

primary
#3931A6
secondary
#BBC073
accent
#DE4AD4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3931A6

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

Preview Lab → · Contrast checker → · Palette generator →

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