#3935A4#3935A4

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

Color values

HEX#3935A4
RGBrgb(57, 53, 164)
HSLhsl(242, 51%, 43%)
HSVhsv(242, 68%, 64%)
CMYKcmyk(65.2%, 67.7%, 0%, 35.7%)
CIE-LABlab(29.65, 36.55, -59.31)
CIE-LCHlch(29.65, 69.67, 301.65°)
OKLaboklab(40.88% 0.0215 -0.1711)
OKLCHoklch(40.88% 0.172 277.1)
XYZxyz(9.6591, 6.0956, 35.7823)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3935A4 #A0A435
analogous
#3569A4 #3935A4 #7035A4
triadic
#3935A4 #A43935 #35A439
tetradic
#3935A4 #A43569 #A0A435 #35A470
square
#3935A4 #A43569 #A0A435 #35A470
split-complementary
#3935A4 #A47035 #69A435
monochromatic
#191747 #292676 #3935A4 #5450C6 #817ED5

Accessibility & contrast

On white

9.46
#3935A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3935A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3935A4
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3935A4#FFFFFF#000000##FFFFFF
##3935A41.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3935a4;
/* rgb */ color: rgb(57, 53, 164);
/* oklch */ color: oklch(40.9% 0.172 277.1);
Tailwind
colors: {
  custom: {
    50: '#7d6dc0',
    500: '#3935a4',
    950: '#000000',
  },
}
SCSS
$custom: #3935a4;
$custom-light: #7d6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3935a4",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 242.162,
    "s": 51.152,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40884,
    "c": 0.17242,
    "h": 277.1
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#3935A4
secondary
#BCBE76
accent
#DB4DD6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3935A4

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

Preview Lab → · Contrast checker → · Palette generator →

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