#3931B4#3931B4

#3931B4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.8% C 0.197 H 276.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#3931B4
RGBrgb(57, 49, 180)
HSLhsl(244, 57%, 45%)
HSVhsv(244, 73%, 71%)
CMYKcmyk(68.3%, 72.8%, 0%, 29.4%)
CIE-LABlab(30.31, 44.23, -67.82)
CIE-LCHlch(30.31, 80.97, 303.11°)
OKLaboklab(41.81% 0.0217 -0.196)
OKLCHoklch(41.81% 0.197 276.3)
XYZxyz(11.0212, 6.3608, 43.8181)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3931B4 #ACB431
analogous
#316BB4 #3931B4 #7A31B4
triadic
#3931B4 #B43931 #31B439
tetradic
#3931B4 #B4316B #ACB431 #31B47A
square
#3931B4 #B4316B #ACB431 #31B47A
split-complementary
#3931B4 #B47A31 #6BB431
monochromatic
#1B1754 #2A2484 #3931B4 #5A52D0 #8882DD

Accessibility & contrast

On white

9.24
#3931B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3931B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3931B4#FFFFFF#000000##FFFFFF
##3931B41.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3931b4;
/* rgb */ color: rgb(57, 49, 180);
/* oklch */ color: oklch(41.8% 0.197 276.3);
Tailwind
colors: {
  custom: {
    50: '#806bcc',
    500: '#3931b4',
    950: '#000000',
  },
}
SCSS
$custom: #3931b4;
$custom-light: #806bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3931b4",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 243.664,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41813,
    "c": 0.19717,
    "h": 276.3
  },
  "luminance": 0.06362
}

Semantic roles & 50–950 ramp

primary
#3931B4
secondary
#C2C67B
accent
#E047D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3931B4

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

Preview Lab → · Contrast checker → · Palette generator →

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