#3931A3#3931A3

#3931A3 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.176 H 278.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#3931A3
RGBrgb(57, 49, 163)
HSLhsl(244, 54%, 42%)
HSVhsv(244, 70%, 64%)
CMYKcmyk(65%, 69.9%, 0%, 36.1%)
CIE-LABlab(28.67, 38.64, -60.31)
CIE-LCHlch(28.67, 71.63, 302.65°)
OKLaboklab(40.15% 0.0246 -0.174)
OKLCHoklch(40.15% 0.176 278.1)
XYZxyz(9.3944, 5.7101, 35.2503)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3931A3 #9BA331
analogous
#3162A3 #3931A3 #7231A3
triadic
#3931A3 #A33931 #31A339
tetradic
#3931A3 #A33162 #9BA331 #31A372
square
#3931A3 #A33162 #9BA331 #31A372
split-complementary
#3931A3 #A37231 #62A331
monochromatic
#181545 #292374 #3931A3 #5249C8 #7F78D6

Accessibility & contrast

On white

9.80
#3931A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3931A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3931A3#FFFFFF#000000##FFFFFF
##3931A31.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3931a3;
/* rgb */ color: rgb(57, 49, 163);
/* oklch */ color: oklch(40.1% 0.176 278.1);
Tailwind
colors: {
  custom: {
    50: '#7d6abf',
    500: '#3931a3',
    950: '#000000',
  },
}
SCSS
$custom: #3931a3;
$custom-light: #7d6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#3931a3",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 244.211,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40147,
    "c": 0.17577,
    "h": 278.1
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#3931A3
secondary
#B9BF71
accent
#DD4BD3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3931A3

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

Preview Lab → · Contrast checker → · Palette generator →

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