#3935A3#3935A3

#3935A3 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.171 H 277.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#3935A3
RGBrgb(57, 53, 163)
HSLhsl(242, 51%, 42%)
HSVhsv(242, 67%, 64%)
CMYKcmyk(65%, 67.5%, 0%, 36.1%)
CIE-LABlab(29.56, 36.21, -58.85)
CIE-LCHlch(29.56, 69.10, 301.61°)
OKLaboklab(40.79% 0.0216 -0.1697)
OKLCHoklch(40.79% 0.171 277.2)
XYZxyz(9.5692, 6.0596, 35.3086)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3935A3 #9FA335
analogous
#3568A3 #3935A3 #7035A3
triadic
#3935A3 #A33935 #35A339
tetradic
#3935A3 #A33568 #9FA335 #35A370
square
#3935A3 #A33568 #9FA335 #35A370
split-complementary
#3935A3 #A37035 #68A335
monochromatic
#191747 #292675 #3935A3 #544FC6 #817ED5

Accessibility & contrast

On white

9.49
#3935A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3935A3
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3935A3#FFFFFF#000000##FFFFFF
##3935A31.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3935a3;
/* rgb */ color: rgb(57, 53, 163);
/* oklch */ color: oklch(40.8% 0.171 277.2);
Tailwind
colors: {
  custom: {
    50: '#7d6dbf',
    500: '#3935a3',
    950: '#000000',
  },
}
SCSS
$custom: #3935a3;
$custom-light: #7d6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3935a3",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 242.182,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40792,
    "c": 0.17111,
    "h": 277.2
  },
  "luminance": 0.0606
}

Semantic roles & 50–950 ramp

primary
#3935A3
secondary
#BBBE76
accent
#DA4DD5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3935A3

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

Preview Lab → · Contrast checker → · Palette generator →

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