#3935AE#3935AE

#3935AE is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.185 H 276.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#3935AE
RGBrgb(57, 53, 174)
HSLhsl(242, 53%, 45%)
HSVhsv(242, 70%, 68%)
CMYKcmyk(67.2%, 69.5%, 0%, 31.8%)
CIE-LABlab(30.57, 39.92, -63.81)
CIE-LCHlch(30.57, 75.26, 302.03°)
OKLaboklab(41.83% 0.0201 -0.1842)
OKLCHoklch(41.83% 0.185 276.2)
XYZxyz(10.5979, 6.4711, 40.7267)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3935AE #AAAE35
analogous
#356EAE #3935AE #7535AE
triadic
#3935AE #AE3935 #35AE39
tetradic
#3935AE #AE356E #AAAE35 #35AE75
square
#3935AE #AE356E #AAAE35 #35AE75
split-complementary
#3935AE #AE7535 #6EAE35
monochromatic
#1A1850 #2A277F #3935AE #5955CB #8784DA

Accessibility & contrast

On white

9.15
#3935AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3935AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3935AE
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3935AE#FFFFFF#000000##FFFFFF
##3935AE1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3935ae;
/* rgb */ color: rgb(57, 53, 174);
/* oklch */ color: oklch(41.8% 0.185 276.2);
Tailwind
colors: {
  custom: {
    50: '#7f6dc7',
    500: '#3935ae',
    950: '#000000',
  },
}
SCSS
$custom: #3935ae;
$custom-light: #7f6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3935ae",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 241.983,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41828,
    "c": 0.18535,
    "h": 276.2
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#3935AE
secondary
#C1C37C
accent
#DD4BD8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3935AE

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

Preview Lab → · Contrast checker → · Palette generator →

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