#3935A7#3935A7

#3935A7 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.176 H 276.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#3935A7
RGBrgb(57, 53, 167)
HSLhsl(242, 52%, 43%)
HSVhsv(242, 68%, 65%)
CMYKcmyk(65.9%, 68.3%, 0%, 34.5%)
CIE-LABlab(29.92, 37.57, -60.67)
CIE-LCHlch(29.92, 71.36, 301.77°)
OKLaboklab(41.17% 0.0211 -0.1751)
OKLCHoklch(41.17% 0.176 276.9)
XYZxyz(9.9332, 6.2052, 37.2260)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3935A7 #A3A735
analogous
#356AA7 #3935A7 #7235A7
triadic
#3935A7 #A73935 #35A739
tetradic
#3935A7 #A7356A #A3A735 #35A772
square
#3935A7 #A7356A #A3A735 #35A772
split-complementary
#3935A7 #A77235 #6AA735
monochromatic
#19184A #292679 #3935A7 #5551C8 #8380D7

Accessibility & contrast

On white

9.37
#3935A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3935A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3935A7
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3935A7#FFFFFF#000000##FFFFFF
##3935A71.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3935a7;
/* rgb */ color: rgb(57, 53, 167);
/* oklch */ color: oklch(41.2% 0.176 276.9);
Tailwind
colors: {
  custom: {
    50: '#7d6dc2',
    500: '#3935a7',
    950: '#000000',
  },
}
SCSS
$custom: #3935a7;
$custom-light: #7d6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3935a7",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 167
  },
  "hsl": {
    "h": 242.105,
    "s": 51.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41165,
    "c": 0.17634,
    "h": 276.9
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#3935A7
secondary
#BDC078
accent
#DB4DD6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3935A7

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

Preview Lab → · Contrast checker → · Palette generator →

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