#3931A9#3931A9

#3931A9 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.183 H 277.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#3931A9
RGBrgb(57, 49, 169)
HSLhsl(244, 55%, 43%)
HSVhsv(244, 71%, 66%)
CMYKcmyk(66.3%, 71%, 0%, 33.7%)
CIE-LABlab(29.24, 40.63, -63.00)
CIE-LCHlch(29.24, 74.97, 302.82°)
OKLaboklab(40.73% 0.0237 -0.1819)
OKLCHoklch(40.73% 0.183 277.4)
XYZxyz(9.9448, 5.9302, 38.1490)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3931A9 #A1A931
analogous
#3165A9 #3931A9 #7531A9
triadic
#3931A9 #A93931 #31A939
tetradic
#3931A9 #A93165 #A1A931 #31A975
square
#3931A9 #A93165 #A1A931 #31A975
split-complementary
#3931A9 #A97531 #65A931
monochromatic
#19154A #29237A #3931A9 #554CCB #827CD9

Accessibility & contrast

On white

9.61
#3931A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3931A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3931A9
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3931A9#FFFFFF#000000##FFFFFF
##3931A91.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3931a9;
/* rgb */ color: rgb(57, 49, 169);
/* oklch */ color: oklch(40.7% 0.183 277.4);
Tailwind
colors: {
  custom: {
    50: '#7e6ac4',
    500: '#3931a9',
    950: '#000000',
  },
}
SCSS
$custom: #3931a9;
$custom-light: #7e6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3931a9",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 244,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40726,
    "c": 0.18342,
    "h": 277.4
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#3931A9
secondary
#BCC174
accent
#DE49D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3931A9

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

Preview Lab → · Contrast checker → · Palette generator →

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