#3939B7#3939B7

#3939B7 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.3% C 0.192 H 274.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#3939B7
RGBrgb(57, 57, 183)
HSLhsl(240, 53%, 47%)
HSVhsv(240, 69%, 72%)
CMYKcmyk(68.9%, 68.9%, 0%, 28.2%)
CIE-LABlab(32.29, 40.55, -66.34)
CIE-LCHlch(32.29, 77.75, 301.43°)
OKLaboklab(43.32% 0.0162 -0.1917)
OKLCHoklch(43.32% 0.192 274.8)
XYZxyz(11.6949, 7.2139, 45.5667)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939B7 #B7B739
analogous
#3978B7 #3939B7 #7839B7
triadic
#3939B7 #B73939 #39B739
tetradic
#3939B7 #B73978 #B7B739 #39B778
square
#3939B7 #B73978 #B7B739 #39B778
split-complementary
#3939B7 #B77839 #78B739
monochromatic
#1C1C5A #2A2A88 #3939B7 #6060CD #8E8EDC

Accessibility & contrast

On white

8.60
#3939B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3939B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939B7
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939B7#FFFFFF#000000##FFFFFF
##3939B71.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0046B5
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3939b7;
/* rgb */ color: rgb(57, 57, 183);
/* oklch */ color: oklch(43.3% 0.192 274.8);
Tailwind
colors: {
  custom: {
    50: '#8070ce',
    500: '#3939b7',
    950: '#000000',
  },
}
SCSS
$custom: #3939b7;
$custom-light: #8070ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3939b7",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 240,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43321,
    "c": 0.19234,
    "h": 274.8
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#3939B7
secondary
#C7C785
accent
#DC4CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3939B7

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

Preview Lab → · Contrast checker → · Palette generator →

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