#3935A5#3935A5

#3935A5 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.174 H 277.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#3935A5
RGBrgb(57, 53, 165)
HSLhsl(242, 51%, 43%)
HSVhsv(242, 68%, 65%)
CMYKcmyk(65.5%, 67.9%, 0%, 35.3%)
CIE-LABlab(29.74, 36.89, -59.76)
CIE-LCHlch(29.74, 70.23, 301.69°)
OKLaboklab(40.98% 0.0213 -0.1724)
OKLCHoklch(40.98% 0.174 277.1)
XYZxyz(9.7498, 6.1319, 36.2598)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3935A5 #A1A535
analogous
#3569A5 #3935A5 #7135A5
triadic
#3935A5 #A53935 #35A539
tetradic
#3935A5 #A53569 #A1A535 #35A571
square
#3935A5 #A53569 #A1A535 #35A571
split-complementary
#3935A5 #A57135 #69A535
monochromatic
#191748 #292677 #3935A5 #5550C7 #827FD6

Accessibility & contrast

On white

9.43
#3935A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3935A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3935A5
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3935A5#FFFFFF#000000##FFFFFF
##3935A51.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3935a5;
/* rgb */ color: rgb(57, 53, 165);
/* oklch */ color: oklch(41.0% 0.174 277.1);
Tailwind
colors: {
  custom: {
    50: '#7d6dc1',
    500: '#3935a5',
    950: '#000000',
  },
}
SCSS
$custom: #3935a5;
$custom-light: #7d6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3935a5",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 242.143,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40977,
    "c": 0.17373,
    "h": 277.1
  },
  "luminance": 0.06133
}

Semantic roles & 50–950 ramp

primary
#3935A5
secondary
#BCBF77
accent
#DB4DD6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3935A5

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

Preview Lab → · Contrast checker → · Palette generator →

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