#3935B6#3935B6

#3935B6 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.6% C 0.195 H 275.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#3935B6
RGBrgb(57, 53, 182)
HSLhsl(242, 55%, 46%)
HSVhsv(242, 71%, 71%)
CMYKcmyk(68.7%, 70.9%, 0%, 28.6%)
CIE-LABlab(31.33, 42.58, -67.33)
CIE-LCHlch(31.33, 79.66, 302.31°)
OKLaboklab(42.6% 0.0189 -0.1945)
OKLCHoklch(42.6% 0.195 275.6)
XYZxyz(11.4012, 6.7924, 44.9571)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3935B6 #B2B635
analogous
#3571B6 #3935B6 #7935B6
triadic
#3935B6 #B63935 #35B639
tetradic
#3935B6 #B63571 #B2B635 #35B679
square
#3935B6 #B63571 #B2B635 #35B679
split-complementary
#3935B6 #B67935 #71B635
monochromatic
#1B1957 #2A2787 #3935B6 #5D59CF #8B89DD

Accessibility & contrast

On white

8.90
#3935B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3935B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3935B6
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3935B6#FFFFFF#000000##FFFFFF
##3935B61.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3935b6;
/* rgb */ color: rgb(57, 53, 182);
/* oklch */ color: oklch(42.6% 0.195 275.6);
Tailwind
colors: {
  custom: {
    50: '#816dcd',
    500: '#3935b6',
    950: '#000000',
  },
}
SCSS
$custom: #3935b6;
$custom-light: #816dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3935b6",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 241.86,
    "s": 54.894,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42603,
    "c": 0.19545,
    "h": 275.6
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#3935B6
secondary
#C4C780
accent
#DE4ADA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3935B6

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

Preview Lab → · Contrast checker → · Palette generator →

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