#3939CB#3939CB

#3939CB is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.3% C 0.217 H 273.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#3939CB
RGBrgb(57, 57, 203)
HSLhsl(240, 58%, 51%)
HSVhsv(240, 72%, 80%)
CMYKcmyk(71.9%, 71.9%, 0%, 20.4%)
CIE-LABlab(34.20, 47.20, -74.93)
CIE-LCHlch(34.20, 88.56, 302.21°)
OKLaboklab(45.27% 0.0133 -0.2167)
OKLCHoklch(45.27% 0.217 273.5)
XYZxyz(13.9264, 8.1065, 57.3191)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939CB #CBCB39
analogous
#3982CB #3939CB #8239CB
triadic
#3939CB #CB3939 #39CB39
tetradic
#3939CB #CB3982 #CBCB39 #39CB82
square
#3939CB #CB3982 #CBCB39 #39CB82
split-complementary
#3939CB #CB8239 #82CB39
monochromatic
#1D1D6D #29299D #3939CB #6969D8 #9A9AE4

Accessibility & contrast

On white

8.01
#3939CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3939CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939CB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939CB#FFFFFF#000000##FFFFFF
##3939CB1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CF
Deuteranopia (green-blind)
#0049C8
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3939cb;
/* rgb */ color: rgb(57, 57, 203);
/* oklch */ color: oklch(45.3% 0.217 273.5);
Tailwind
colors: {
  custom: {
    50: '#8571dc',
    500: '#3939cb',
    950: '#000000',
  },
}
SCSS
$custom: #3939cb;
$custom-light: #8571dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3939cb",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 240,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45273,
    "c": 0.21714,
    "h": 273.5
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3939CB

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

Preview Lab → · Contrast checker → · Palette generator →

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