#3936A5#3936A5

#3936A5 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.173 H 276.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#3936A5
RGBrgb(57, 54, 165)
HSLhsl(242, 51%, 43%)
HSVhsv(242, 67%, 65%)
CMYKcmyk(65.5%, 67.3%, 0%, 35.3%)
CIE-LABlab(29.97, 36.28, -59.39)
CIE-LCHlch(29.97, 69.59, 301.42°)
OKLaboklab(41.14% 0.0206 -0.1713)
OKLCHoklch(41.14% 0.173 276.8)
XYZxyz(9.7958, 6.2240, 36.2751)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3936A5 #A2A536
analogous
#366AA5 #3936A5 #7136A5
triadic
#3936A5 #A53936 #36A539
tetradic
#3936A5 #A5366A #A2A536 #36A571
square
#3936A5 #A5366A #A2A536 #36A571
split-complementary
#3936A5 #A57136 #6AA536
monochromatic
#191849 #292777 #3936A5 #5552C6 #8280D5

Accessibility & contrast

On white

9.35
#3936A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3936A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3936A5
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3936A5#FFFFFF#000000##FFFFFF
##3936A51.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3936a5;
/* rgb */ color: rgb(57, 54, 165);
/* oklch */ color: oklch(41.1% 0.173 276.8);
Tailwind
colors: {
  custom: {
    50: '#7d6ec1',
    500: '#3936a5',
    950: '#000000',
  },
}
SCSS
$custom: #3936a5;
$custom-light: #7d6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#3936a5",
  "rgb": {
    "r": 57,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 241.622,
    "s": 50.685,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41142,
    "c": 0.17254,
    "h": 276.8
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#3936A5
secondary
#BDBF78
accent
#DA4ED6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3936A5

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

Preview Lab → · Contrast checker → · Palette generator →

#3936A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva