#3935B4#3935B4

#3935B4 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.4% C 0.193 H 275.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#3935B4
RGBrgb(57, 53, 180)
HSLhsl(242, 55%, 46%)
HSVhsv(242, 71%, 71%)
CMYKcmyk(68.3%, 70.6%, 0%, 29.4%)
CIE-LABlab(31.14, 41.92, -66.45)
CIE-LCHlch(31.14, 78.57, 302.24°)
OKLaboklab(42.41% 0.0192 -0.192)
OKLCHoklch(42.41% 0.193 275.7)
XYZxyz(11.1960, 6.7103, 43.8764)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3935B4 #B0B435
analogous
#3570B4 #3935B4 #7835B4
triadic
#3935B4 #B43935 #35B439
tetradic
#3935B4 #B43570 #B0B435 #35B478
square
#3935B4 #B43570 #B0B435 #35B478
split-complementary
#3935B4 #B47835 #70B435
monochromatic
#1B1955 #2A2785 #3935B4 #5C58CE #8A88DC

Accessibility & contrast

On white

8.97
#3935B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3935B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3935B4
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3935B4#FFFFFF#000000##FFFFFF
##3935B41.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3935b4;
/* rgb */ color: rgb(57, 53, 180);
/* oklch */ color: oklch(42.4% 0.193 275.7);
Tailwind
colors: {
  custom: {
    50: '#806dcc',
    500: '#3935b4',
    950: '#000000',
  },
}
SCSS
$custom: #3935b4;
$custom-light: #806dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3935b4",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 241.89,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42408,
    "c": 0.19294,
    "h": 275.7
  },
  "luminance": 0.06711
}

Semantic roles & 50–950 ramp

primary
#3935B4
secondary
#C4C67F
accent
#DE4AD9
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3935B4

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

Preview Lab → · Contrast checker → · Palette generator →

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