#3935B9#3935B9

#3935B9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.9% C 0.199 H 275.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#3935B9
RGBrgb(57, 53, 185)
HSLhsl(242, 55%, 47%)
HSVhsv(242, 71%, 73%)
CMYKcmyk(69.2%, 71.4%, 0%, 27.5%)
CIE-LABlab(31.62, 43.57, -68.63)
CIE-LCHlch(31.62, 81.29, 302.41°)
OKLaboklab(42.9% 0.0184 -0.1983)
OKLCHoklch(42.9% 0.199 275.3)
XYZxyz(11.7145, 6.9178, 46.6074)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3935B9 #B5B935
analogous
#3573B9 #3935B9 #7B35B9
triadic
#3935B9 #B93935 #35B939
tetradic
#3935B9 #B93573 #B5B935 #35B97B
square
#3935B9 #B93573 #B5B935 #35B97B
split-complementary
#3935B9 #B97B35 #73B935
monochromatic
#1C1A5A #2A2789 #3935B9 #5F5BD0 #8D8BDE

Accessibility & contrast

On white

8.81
#3935B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3935B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3935B9
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3935B9#FFFFFF#000000##FFFFFF
##3935B91.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BD
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3935b9;
/* rgb */ color: rgb(57, 53, 185);
/* oklch */ color: oklch(42.9% 0.199 275.3);
Tailwind
colors: {
  custom: {
    50: '#816ecf',
    500: '#3935b9',
    950: '#000000',
  },
}
SCSS
$custom: #3935b9;
$custom-light: #816ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#3935b9",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 241.818,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42898,
    "c": 0.19919,
    "h": 275.3
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#3935B9
secondary
#C6C882
accent
#DF49DA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3935B9

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

Preview Lab → · Contrast checker → · Palette generator →

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