#3931B6#3931B6

#3931B6 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 42.0% C 0.200 H 276.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#3931B6
RGBrgb(57, 49, 182)
HSLhsl(244, 58%, 45%)
HSVhsv(244, 73%, 71%)
CMYKcmyk(68.7%, 73.1%, 0%, 28.6%)
CIE-LABlab(30.50, 44.88, -68.69)
CIE-LCHlch(30.50, 82.05, 303.16°)
OKLaboklab(42.01% 0.0213 -0.1985)
OKLCHoklch(42.01% 0.2 276.1)
XYZxyz(11.2264, 6.4429, 44.8989)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3931B6 #AEB631
analogous
#316BB6 #3931B6 #7B31B6
triadic
#3931B6 #B63931 #31B639
tetradic
#3931B6 #B6316B #AEB631 #31B67B
square
#3931B6 #B6316B #AEB631 #31B67B
split-complementary
#3931B6 #B67B31 #6BB631
monochromatic
#1B1756 #2A2486 #3931B6 #5B53D1 #8984DE

Accessibility & contrast

On white

9.18
#3931B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3931B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3931B6
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3931B6#FFFFFF#000000##FFFFFF
##3931B61.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3931b6;
/* rgb */ color: rgb(57, 49, 182);
/* oklch */ color: oklch(42.0% 0.200 276.1);
Tailwind
colors: {
  custom: {
    50: '#816bcd',
    500: '#3931b6',
    950: '#000000',
  },
}
SCSS
$custom: #3931b6;
$custom-light: #816bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3931b6",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 243.609,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42013,
    "c": 0.19963,
    "h": 276.1
  },
  "luminance": 0.06444
}

Semantic roles & 50–950 ramp

primary
#3931B6
secondary
#C3C77C
accent
#E147D8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3931B6

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

Preview Lab → · Contrast checker → · Palette generator →

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