#3939B3#3939B3

#3939B3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.187 H 275.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#3939B3
RGBrgb(57, 57, 179)
HSLhsl(240, 52%, 46%)
HSVhsv(240, 68%, 70%)
CMYKcmyk(68.2%, 68.2%, 0%, 29.8%)
CIE-LABlab(31.92, 39.19, -64.57)
CIE-LCHlch(31.92, 75.54, 301.26°)
OKLaboklab(42.94% 0.0167 -0.1865)
OKLCHoklch(42.94% 0.187 275.1)
XYZxyz(11.2845, 7.0498, 43.4051)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939B3 #B3B339
analogous
#3976B3 #3939B3 #7639B3
triadic
#3939B3 #B33939 #39B339
tetradic
#3939B3 #B33976 #B3B339 #39B376
square
#3939B3 #B33976 #B3B339 #39B376
split-complementary
#3939B3 #B37639 #76B339
monochromatic
#1B1B56 #2A2A85 #3939B3 #5E5ECC #8C8CDA

Accessibility & contrast

On white

8.71
#3939B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3939B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939B3
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939B3#FFFFFF#000000##FFFFFF
##3939B31.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3939b3;
/* rgb */ color: rgb(57, 57, 179);
/* oklch */ color: oklch(42.9% 0.187 275.1);
Tailwind
colors: {
  custom: {
    50: '#8070cb',
    500: '#3939b3',
    950: '#000000',
  },
}
SCSS
$custom: #3939b3;
$custom-light: #8070cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3939b3",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 240,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42942,
    "c": 0.18724,
    "h": 275.1
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#3939B3
secondary
#C5C583
accent
#DB4DDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3939B3

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

Preview Lab → · Contrast checker → · Palette generator →

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