#3931BA#3931BA

#3931BA is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.4% C 0.205 H 275.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#3931BA
RGBrgb(57, 49, 186)
HSLhsl(244, 58%, 46%)
HSVhsv(244, 74%, 73%)
CMYKcmyk(69.4%, 73.7%, 0%, 27.1%)
CIE-LABlab(30.90, 46.17, -70.40)
CIE-LCHlch(30.90, 84.19, 303.26°)
OKLaboklab(42.42% 0.0206 -0.2035)
OKLCHoklch(42.42% 0.205 275.8)
XYZxyz(11.6457, 6.6106, 47.1071)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3931BA #B2BA31
analogous
#316DBA #3931BA #7D31BA
triadic
#3931BA #BA3931 #31BA39
tetradic
#3931BA #BA316D #B2BA31 #31BA7D
square
#3931BA #BA316D #B2BA31 #31BA7D
split-complementary
#3931BA #BA7D31 #6DBA31
monochromatic
#1B1759 #2A248A #3931BA #5D56D2 #8B86DF

Accessibility & contrast

On white

9.04
#3931BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3931BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3931BA#FFFFFF#000000##FFFFFF
##3931BA1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0043B8
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3931ba;
/* rgb */ color: rgb(57, 49, 186);
/* oklch */ color: oklch(42.4% 0.205 275.8);
Tailwind
colors: {
  custom: {
    50: '#826bd0',
    500: '#3931ba',
    950: '#000000',
  },
}
SCSS
$custom: #3931ba;
$custom-light: #826bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3931ba",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 243.504,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42418,
    "c": 0.20452,
    "h": 275.8
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#3931BA
secondary
#C4C97E
accent
#E246D8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3931BA

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

Preview Lab → · Contrast checker → · Palette generator →

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