#3936A6#3936A6

#3936A6 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.2% C 0.174 H 276.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#3936A6
RGBrgb(57, 54, 166)
HSLhsl(242, 51%, 43%)
HSVhsv(242, 67%, 65%)
CMYKcmyk(65.7%, 67.5%, 0%, 34.9%)
CIE-LABlab(30.06, 36.62, -59.84)
CIE-LCHlch(30.06, 70.16, 301.46°)
OKLaboklab(41.24% 0.0205 -0.1726)
OKLCHoklch(41.24% 0.174 276.8)
XYZxyz(9.8872, 6.2605, 36.7564)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3936A6 #A3A636
analogous
#366BA6 #3936A6 #7136A6
triadic
#3936A6 #A63936 #36A639
tetradic
#3936A6 #A6366B #A3A636 #36A671
square
#3936A6 #A6366B #A3A636 #36A671
split-complementary
#3936A6 #A67136 #6BA636
monochromatic
#19184A #292778 #3936A6 #5552C7 #8381D6

Accessibility & contrast

On white

9.32
#3936A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3936A6
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3936A6#FFFFFF#000000##FFFFFF
##3936A61.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3936a6;
/* rgb */ color: rgb(57, 54, 166);
/* oklch */ color: oklch(41.2% 0.174 276.8);
Tailwind
colors: {
  custom: {
    50: '#7d6ec1',
    500: '#3936a6',
    950: '#000000',
  },
}
SCSS
$custom: #3936a6;
$custom-light: #7d6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#3936a6",
  "rgb": {
    "r": 57,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 241.607,
    "s": 50.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41235,
    "c": 0.17386,
    "h": 276.8
  },
  "luminance": 0.06261
}

Semantic roles & 50–950 ramp

primary
#3936A6
secondary
#BDBF79
accent
#DA4DD7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3936A6

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

Preview Lab → · Contrast checker → · Palette generator →

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