#3931AF#3931AF

#3931AF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.191 H 276.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#3931AF
RGBrgb(57, 49, 175)
HSLhsl(244, 56%, 44%)
HSVhsv(244, 72%, 69%)
CMYKcmyk(67.4%, 72%, 0%, 31.4%)
CIE-LABlab(29.81, 42.60, -65.65)
CIE-LCHlch(29.81, 78.26, 302.98°)
OKLaboklab(41.32% 0.0226 -0.1896)
OKLCHoklch(41.32% 0.191 276.8)
XYZxyz(10.5210, 6.1607, 41.1838)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3931AF #A7AF31
analogous
#3168AF #3931AF #7831AF
triadic
#3931AF #AF3931 #31AF39
tetradic
#3931AF #AF3168 #A7AF31 #31AF78
square
#3931AF #AF3168 #A7AF31 #31AF78
split-complementary
#3931AF #AF7831 #68AF31
monochromatic
#1A164F #29247F #3931AF #574FCE #857FDB

Accessibility & contrast

On white

9.41
#3931AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3931AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3931AF
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3931AF#FFFFFF#000000##FFFFFF
##3931AF1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3931af;
/* rgb */ color: rgb(57, 49, 175);
/* oklch */ color: oklch(41.3% 0.191 276.8);
Tailwind
colors: {
  custom: {
    50: '#7f6bc8',
    500: '#3931af',
    950: '#000000',
  },
}
SCSS
$custom: #3931af;
$custom-light: #7f6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3931af",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 243.81,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41315,
    "c": 0.19098,
    "h": 276.8
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#3931AF
secondary
#BFC478
accent
#E048D6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3931AF

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

Preview Lab → · Contrast checker → · Palette generator →

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