#3939CF#3939CF

#3939CF is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.7% C 0.222 H 273.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#3939CF
RGBrgb(57, 57, 207)
HSLhsl(240, 61%, 52%)
HSVhsv(240, 72%, 81%)
CMYKcmyk(72.5%, 72.5%, 0%, 18.8%)
CIE-LABlab(34.60, 48.51, -76.60)
CIE-LCHlch(34.60, 90.67, 302.34°)
OKLaboklab(45.67% 0.0126 -0.2216)
OKLCHoklch(45.67% 0.222 273.3)
XYZxyz(14.4092, 8.2996, 59.8620)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939CF #CFCF39
analogous
#3984CF #3939CF #8439CF
triadic
#3939CF #CF3939 #39CF39
tetradic
#3939CF #CF3984 #CFCF39 #39CF84
square
#3939CF #CF3984 #CFCF39 #39CF84
split-complementary
#3939CF #CF8439 #84CF39
monochromatic
#1C1C72 #2828A3 #3939CF #6A6ADB #9C9CE7

Accessibility & contrast

On white

7.89
#3939CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3939CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939CF
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939CF#FFFFFF#000000##FFFFFF
##3939CF1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D3
Deuteranopia (green-blind)
#004ACC
Tritanopia (blue-blind)
#006481
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3939cf;
/* rgb */ color: rgb(57, 57, 207);
/* oklch */ color: oklch(45.7% 0.222 273.3);
Tailwind
colors: {
  custom: {
    50: '#8671df',
    500: '#3939cf',
    950: '#000000',
  },
}
SCSS
$custom: #3939cf;
$custom-light: #8671df;
$custom-dark: #000000;
JSON
{
  "hex": "#3939cf",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 240,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.45674,
    "c": 0.22197,
    "h": 273.3
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

primary
#3939CF
secondary
#D3D391
accent
#E444E4
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3939CF

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

Preview Lab → · Contrast checker → · Palette generator →

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