#3931B5#3931B5

#3931B5 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.9% C 0.198 H 276.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#3931B5
RGBrgb(57, 49, 181)
HSLhsl(244, 57%, 45%)
HSVhsv(244, 73%, 71%)
CMYKcmyk(68.5%, 72.9%, 0%, 29%)
CIE-LABlab(30.40, 44.55, -68.25)
CIE-LCHlch(30.40, 81.51, 303.13°)
OKLaboklab(41.91% 0.0215 -0.1972)
OKLCHoklch(41.91% 0.198 276.2)
XYZxyz(11.1234, 6.4017, 44.3566)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3931B5 #ADB531
analogous
#316BB5 #3931B5 #7B31B5
triadic
#3931B5 #B53931 #31B539
tetradic
#3931B5 #B5316B #ADB531 #31B57B
square
#3931B5 #B5316B #ADB531 #31B57B
split-complementary
#3931B5 #B57B31 #6BB531
monochromatic
#1B1755 #2A2485 #3931B5 #5A53D0 #8883DD

Accessibility & contrast

On white

9.21
#3931B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3931B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3931B5#FFFFFF#000000##FFFFFF
##3931B51.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3931b5;
/* rgb */ color: rgb(57, 49, 181);
/* oklch */ color: oklch(41.9% 0.198 276.2);
Tailwind
colors: {
  custom: {
    50: '#816bcc',
    500: '#3931b5',
    950: '#000000',
  },
}
SCSS
$custom: #3931b5;
$custom-light: #816bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3931b5",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 243.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41913,
    "c": 0.1984,
    "h": 276.2
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#3931B5
secondary
#C2C77B
accent
#E147D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3931B5

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

Preview Lab → · Contrast checker → · Palette generator →

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