#3931B8#3931B8

#3931B8 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.2% C 0.202 H 276.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#3931B8
RGBrgb(57, 49, 184)
HSLhsl(244, 58%, 46%)
HSVhsv(244, 73%, 72%)
CMYKcmyk(69%, 73.4%, 0%, 27.8%)
CIE-LABlab(30.70, 45.52, -69.54)
CIE-LCHlch(30.70, 83.12, 303.21°)
OKLaboklab(42.22% 0.021 -0.201)
OKLCHoklch(42.22% 0.202 276)
XYZxyz(11.4345, 6.5261, 45.9952)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3931B8 #B0B831
analogous
#316CB8 #3931B8 #7D31B8
triadic
#3931B8 #B83931 #31B839
tetradic
#3931B8 #B8316C #B0B831 #31B87D
square
#3931B8 #B8316C #B0B831 #31B87D
split-complementary
#3931B8 #B87D31 #6CB831
monochromatic
#1B1757 #2A2488 #3931B8 #5C55D2 #8A85DE

Accessibility & contrast

On white

9.11
#3931B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3931B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3931B8
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3931B8#FFFFFF#000000##FFFFFF
##3931B81.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3931b8;
/* rgb */ color: rgb(57, 49, 184);
/* oklch */ color: oklch(42.2% 0.202 276.0);
Tailwind
colors: {
  custom: {
    50: '#816bcf',
    500: '#3931b8',
    950: '#000000',
  },
}
SCSS
$custom: #3931b8;
$custom-light: #816bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3931b8",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 243.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42215,
    "c": 0.20208,
    "h": 276
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3931B8

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

Preview Lab → · Contrast checker → · Palette generator →

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