#3938C7#3938C7

#3938C7 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.7% C 0.213 H 273.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#3938C7
RGBrgb(57, 56, 199)
HSLhsl(240, 56%, 50%)
HSVhsv(240, 72%, 78%)
CMYKcmyk(71.4%, 71.9%, 0%, 22%)
CIE-LABlab(33.61, 46.46, -73.58)
CIE-LCHlch(33.61, 87.02, 302.27°)
OKLaboklab(44.73% 0.0144 -0.2128)
OKLCHoklch(44.73% 0.213 273.9)
XYZxyz(13.4069, 7.8204, 54.8247)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938C7 #C6C738
analogous
#387EC7 #3938C7 #8138C7
triadic
#3938C7 #C73938 #38C739
tetradic
#3938C7 #C7387E #C6C738 #38C781
square
#3938C7 #C7387E #C6C738 #38C781
split-complementary
#3938C7 #C78138 #7EC738
monochromatic
#1E1D67 #2B2B97 #3938C7 #6968D4 #9898E2

Accessibility & contrast

On white

8.19
#3938C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3938C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938C7
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938C7#FFFFFF#000000##FFFFFF
##3938C71.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0048C4
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3938c7;
/* rgb */ color: rgb(57, 56, 199);
/* oklch */ color: oklch(44.7% 0.213 273.9);
Tailwind
colors: {
  custom: {
    50: '#8470d9',
    500: '#3938c7',
    950: '#000000',
  },
}
SCSS
$custom: #3938c7;
$custom-light: #8470d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3938c7",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 240.42,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.44729,
    "c": 0.2133,
    "h": 273.9
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#3938C7
secondary
#CDCD8D
accent
#DF48DE
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3938C7

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

Preview Lab → · Contrast checker → · Palette generator →

#3938C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva