#3935B1#3935B1

#3935B1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.189 H 276.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#3935B1
RGBrgb(57, 53, 177)
HSLhsl(242, 54%, 45%)
HSVhsv(242, 70%, 69%)
CMYKcmyk(67.8%, 70.1%, 0%, 30.6%)
CIE-LABlab(30.85, 40.92, -65.13)
CIE-LCHlch(30.85, 76.92, 302.14°)
OKLaboklab(42.12% 0.0197 -0.1881)
OKLCHoklch(42.12% 0.189 276)
XYZxyz(10.8937, 6.5894, 42.2842)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3935B1 #ADB135
analogous
#356FB1 #3935B1 #7735B1
triadic
#3935B1 #B13935 #35B139
tetradic
#3935B1 #B1356F #ADB135 #35B177
square
#3935B1 #B1356F #ADB135 #35B177
split-complementary
#3935B1 #B17735 #6FB135
monochromatic
#1B1953 #2A2782 #3935B1 #5A57CD #8886DB

Accessibility & contrast

On white

9.06
#3935B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3935B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3935B1
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3935B1#FFFFFF#000000##FFFFFF
##3935B11.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3935b1;
/* rgb */ color: rgb(57, 53, 177);
/* oklch */ color: oklch(42.1% 0.189 276.0);
Tailwind
colors: {
  custom: {
    50: '#806dc9',
    500: '#3935b1',
    950: '#000000',
  },
}
SCSS
$custom: #3935b1;
$custom-light: #806dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3935b1",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 241.935,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42117,
    "c": 0.18916,
    "h": 276
  },
  "luminance": 0.0659
}

Semantic roles & 50–950 ramp

primary
#3935B1
secondary
#C2C47D
accent
#DD4BD9
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3935B1

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

Preview Lab → · Contrast checker → · Palette generator →

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