#3935B3#3935B3

#3935B3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.3% C 0.192 H 275.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#3935B3
RGBrgb(57, 53, 179)
HSLhsl(242, 54%, 45%)
HSVhsv(242, 70%, 70%)
CMYKcmyk(68.2%, 70.4%, 0%, 29.8%)
CIE-LABlab(31.04, 41.59, -66.01)
CIE-LCHlch(31.04, 78.02, 302.21°)
OKLaboklab(42.31% 0.0194 -0.1907)
OKLCHoklch(42.31% 0.192 275.8)
XYZxyz(11.0945, 6.6697, 43.3418)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3935B3 #AFB335
analogous
#3570B3 #3935B3 #7835B3
triadic
#3935B3 #B33935 #35B339
tetradic
#3935B3 #B33570 #AFB335 #35B378
square
#3935B3 #B33570 #AFB335 #35B378
split-complementary
#3935B3 #B37835 #70B335
monochromatic
#1B1955 #2A2784 #3935B3 #5B58CD #8A87DB

Accessibility & contrast

On white

9.00
#3935B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3935B3
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3935B3#FFFFFF#000000##FFFFFF
##3935B31.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3935b3;
/* rgb */ color: rgb(57, 53, 179);
/* oklch */ color: oklch(42.3% 0.192 275.8);
Tailwind
colors: {
  custom: {
    50: '#806dcb',
    500: '#3935b3',
    950: '#000000',
  },
}
SCSS
$custom: #3935b3;
$custom-light: #806dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3935b3",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 241.905,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42311,
    "c": 0.19168,
    "h": 275.8
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3935B3

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

Preview Lab → · Contrast checker → · Palette generator →

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