#3935B5#3935B5

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

Color values

HEX#3935B5
RGBrgb(57, 53, 181)
HSLhsl(242, 55%, 46%)
HSVhsv(242, 71%, 71%)
CMYKcmyk(68.5%, 70.7%, 0%, 29%)
CIE-LABlab(31.23, 42.25, -66.89)
CIE-LCHlch(31.23, 79.12, 302.28°)
OKLaboklab(42.51% 0.0191 -0.1933)
OKLCHoklch(42.51% 0.194 275.6)
XYZxyz(11.2982, 6.7512, 44.4148)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3935B5 #B1B535
analogous
#3571B5 #3935B5 #7935B5
triadic
#3935B5 #B53935 #35B539
tetradic
#3935B5 #B53571 #B1B535 #35B579
square
#3935B5 #B53571 #B1B535 #35B579
split-complementary
#3935B5 #B57935 #71B535
monochromatic
#1B1956 #2A2786 #3935B5 #5D59CE #8B88DC

Accessibility & contrast

On white

8.93
#3935B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3935B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3935B5
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3935B5#FFFFFF#000000##FFFFFF
##3935B51.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3935b5;
/* rgb */ color: rgb(57, 53, 181);
/* oklch */ color: oklch(42.5% 0.194 275.6);
Tailwind
colors: {
  custom: {
    50: '#806dcc',
    500: '#3935b5',
    950: '#000000',
  },
}
SCSS
$custom: #3935b5;
$custom-light: #806dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3935b5",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 241.875,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42505,
    "c": 0.1942,
    "h": 275.6
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#3935B5
secondary
#C4C680
accent
#DE4AD9
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3935B5

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

Preview Lab → · Contrast checker → · Palette generator →

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