#3936A7#3936A7

#3936A7 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.175 H 276.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#3936A7
RGBrgb(57, 54, 167)
HSLhsl(242, 51%, 43%)
HSVhsv(242, 68%, 65%)
CMYKcmyk(65.9%, 67.7%, 0%, 34.5%)
CIE-LABlab(30.15, 36.95, -60.30)
CIE-LCHlch(30.15, 70.72, 301.50°)
OKLaboklab(41.33% 0.0203 -0.174)
OKLCHoklch(41.33% 0.175 276.7)
XYZxyz(9.9793, 6.2974, 37.2413)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3936A7 #A4A736
analogous
#366BA7 #3936A7 #7136A7
triadic
#3936A7 #A73936 #36A739
tetradic
#3936A7 #A7366B #A4A736 #36A771
square
#3936A7 #A7366B #A4A736 #36A771
split-complementary
#3936A7 #A77136 #6BA736
monochromatic
#19184B #292779 #3936A7 #5653C7 #8381D6

Accessibility & contrast

On white

9.29
#3936A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3936A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3936A7
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3936A7#FFFFFF#000000##FFFFFF
##3936A71.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3936a7;
/* rgb */ color: rgb(57, 54, 167);
/* oklch */ color: oklch(41.3% 0.175 276.7);
Tailwind
colors: {
  custom: {
    50: '#7d6ec2',
    500: '#3936a7',
    950: '#000000',
  },
}
SCSS
$custom: #3936a7;
$custom-light: #7d6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#3936a7",
  "rgb": {
    "r": 57,
    "g": 54,
    "b": 167
  },
  "hsl": {
    "h": 241.593,
    "s": 51.131,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41328,
    "c": 0.17516,
    "h": 276.7
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#3936A7
secondary
#BEC079
accent
#DB4DD7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3936A7

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

Preview Lab → · Contrast checker → · Palette generator →

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