#3939CC#3939CC

#3939CC is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.4% C 0.218 H 273.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3939CC
RGBrgb(57, 57, 204)
HSLhsl(240, 59%, 51%)
HSVhsv(240, 72%, 80%)
CMYKcmyk(72.1%, 72.1%, 0%, 20%)
CIE-LABlab(34.30, 47.53, -75.35)
CIE-LCHlch(34.30, 89.09, 302.24°)
OKLaboklab(45.37% 0.0131 -0.218)
OKLCHoklch(45.37% 0.218 273.4)
XYZxyz(14.0459, 8.1543, 57.9487)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939CC #CCCC39
analogous
#3982CC #3939CC #8239CC
triadic
#3939CC #CC3939 #39CC39
tetradic
#3939CC #CC3982 #CCCC39 #39CC82
square
#3939CC #CC3982 #CCCC39 #39CC82
split-complementary
#3939CC #CC8239 #82CC39
monochromatic
#1C1C6E #29299F #3939CC #6A6AD9 #9A9AE5

Accessibility & contrast

On white

7.98
#3939CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3939CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939CC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939CC#FFFFFF#000000##FFFFFF
##3939CC1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004AC9
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3939cc;
/* rgb */ color: rgb(57, 57, 204);
/* oklch */ color: oklch(45.4% 0.218 273.4);
Tailwind
colors: {
  custom: {
    50: '#8571dd',
    500: '#3939cc',
    950: '#000000',
  },
}
SCSS
$custom: #3939cc;
$custom-light: #8571dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3939cc",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 240,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45373,
    "c": 0.21835,
    "h": 273.4
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#3939CC
secondary
#D1D190
accent
#E246E2
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3939CC

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

Preview Lab → · Contrast checker → · Palette generator →

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