#3935B2#3935B2

#3935B2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.2% C 0.190 H 275.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#3935B2
RGBrgb(57, 53, 178)
HSLhsl(242, 54%, 45%)
HSVhsv(242, 70%, 70%)
CMYKcmyk(68%, 70.2%, 0%, 30.2%)
CIE-LABlab(30.95, 41.25, -65.57)
CIE-LCHlch(30.95, 77.47, 302.17°)
OKLaboklab(42.21% 0.0195 -0.1894)
OKLCHoklch(42.21% 0.19 275.9)
XYZxyz(10.9937, 6.6294, 42.8111)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3935B2 #AEB235
analogous
#356FB2 #3935B2 #7735B2
triadic
#3935B2 #B23935 #35B239
tetradic
#3935B2 #B2356F #AEB235 #35B277
square
#3935B2 #B2356F #AEB235 #35B277
split-complementary
#3935B2 #B27735 #6FB235
monochromatic
#1B1954 #2A2783 #3935B2 #5B57CD #8986DB

Accessibility & contrast

On white

9.03
#3935B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3935B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3935B2
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3935B2#FFFFFF#000000##FFFFFF
##3935B21.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3935b2;
/* rgb */ color: rgb(57, 53, 178);
/* oklch */ color: oklch(42.2% 0.190 275.9);
Tailwind
colors: {
  custom: {
    50: '#806dca',
    500: '#3935b2',
    950: '#000000',
  },
}
SCSS
$custom: #3935b2;
$custom-light: #806dca;
$custom-dark: #000000;
JSON
{
  "hex": "#3935b2",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 241.92,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42214,
    "c": 0.19042,
    "h": 275.9
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#3935B2
secondary
#C3C57E
accent
#DD4AD9
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3935B2

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

Preview Lab → · Contrast checker → · Palette generator →

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