#3935A2#3935A2

#3935A2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.170 H 277.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#3935A2
RGBrgb(57, 53, 162)
HSLhsl(242, 51%, 42%)
HSVhsv(242, 67%, 64%)
CMYKcmyk(64.8%, 67.3%, 0%, 36.5%)
CIE-LABlab(29.47, 35.87, -58.39)
CIE-LCHlch(29.47, 68.53, 301.57°)
OKLaboklab(40.7% 0.0217 -0.1684)
OKLCHoklch(40.7% 0.17 277.3)
XYZxyz(9.4799, 6.0239, 34.8386)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3935A2 #9EA235
analogous
#3568A2 #3935A2 #7035A2
triadic
#3935A2 #A23935 #35A239
tetradic
#3935A2 #A23568 #9EA235 #35A270
square
#3935A2 #A23568 #9EA235 #35A270
split-complementary
#3935A2 #A27035 #68A235
monochromatic
#191746 #292674 #3935A2 #534FC5 #807DD4

Accessibility & contrast

On white

9.52
#3935A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3935A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3935A2
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3935A2#FFFFFF#000000##FFFFFF
##3935A21.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3935a2;
/* rgb */ color: rgb(57, 53, 162);
/* oklch */ color: oklch(40.7% 0.170 277.3);
Tailwind
colors: {
  custom: {
    50: '#7c6dbe',
    500: '#3935a2',
    950: '#000000',
  },
}
SCSS
$custom: #3935a2;
$custom-light: #7c6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3935a2",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 242.202,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40699,
    "c": 0.16979,
    "h": 277.3
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#3935A2
secondary
#BBBD75
accent
#DA4ED5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3935A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3935A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva