#3939CA#3939CA

#3939CA is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.2% C 0.216 H 273.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3939CA
RGBrgb(57, 57, 202)
HSLhsl(240, 58%, 51%)
HSVhsv(240, 72%, 79%)
CMYKcmyk(71.8%, 71.8%, 0%, 20.8%)
CIE-LABlab(34.11, 46.87, -74.51)
CIE-LCHlch(34.11, 88.03, 302.17°)
OKLaboklab(45.17% 0.0134 -0.2155)
OKLCHoklch(45.17% 0.216 273.6)
XYZxyz(13.8076, 8.0590, 56.6935)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939CA #CACA39
analogous
#3981CA #3939CA #8139CA
triadic
#3939CA #CA3939 #39CA39
tetradic
#3939CA #CA3981 #CACA39 #39CA81
square
#3939CA #CA3981 #CACA39 #39CA81
split-complementary
#3939CA #CA8139 #81CA39
monochromatic
#1D1D6C #2A2A9C #3939CA #6969D7 #9A9AE4

Accessibility & contrast

On white

8.04
#3939CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3939CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939CA
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939CA#FFFFFF#000000##FFFFFF
##3939CA1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3939ca;
/* rgb */ color: rgb(57, 57, 202);
/* oklch */ color: oklch(45.2% 0.216 273.6);
Tailwind
colors: {
  custom: {
    50: '#8571db',
    500: '#3939ca',
    950: '#000000',
  },
}
SCSS
$custom: #3939ca;
$custom-light: #8571db;
$custom-dark: #000000;
JSON
{
  "hex": "#3939ca",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45174,
    "c": 0.21593,
    "h": 273.6
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#3939CA
secondary
#D0D08F
accent
#E147E1
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3939CA

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

Preview Lab → · Contrast checker → · Palette generator →

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