#3939BA#3939BA

#3939BA is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.6% C 0.196 H 274.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#3939BA
RGBrgb(57, 57, 186)
HSLhsl(240, 53%, 48%)
HSVhsv(240, 69%, 73%)
CMYKcmyk(69.4%, 69.4%, 0%, 27.1%)
CIE-LABlab(32.57, 41.56, -67.66)
CIE-LCHlch(32.57, 79.40, 301.56°)
OKLaboklab(43.61% 0.0158 -0.1955)
OKLCHoklch(43.61% 0.196 274.6)
XYZxyz(12.0105, 7.3402, 47.2287)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939BA #BABA39
analogous
#3979BA #3939BA #7939BA
triadic
#3939BA #BA3939 #39BA39
tetradic
#3939BA #BA3979 #BABA39 #39BA79
square
#3939BA #BA3979 #BABA39 #39BA79
split-complementary
#3939BA #BA7939 #79BA39
monochromatic
#1C1C5C #2B2B8B #3939BA #6161CF #9090DD

Accessibility & contrast

On white

8.51
#3939BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3939BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939BA
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939BA#FFFFFF#000000##FFFFFF
##3939BA1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0047B8
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3939ba;
/* rgb */ color: rgb(57, 57, 186);
/* oklch */ color: oklch(43.6% 0.196 274.6);
Tailwind
colors: {
  custom: {
    50: '#8170d0',
    500: '#3939ba',
    950: '#000000',
  },
}
SCSS
$custom: #3939ba;
$custom-light: #8170d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3939ba",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 240,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43608,
    "c": 0.19614,
    "h": 274.6
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

primary
#3939BA
secondary
#C8C887
accent
#DC4BDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3939BA

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

Preview Lab → · Contrast checker → · Palette generator →

#3939BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva