#3938C4#3938C4

#3938C4 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.4% C 0.210 H 274.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#3938C4
RGBrgb(57, 56, 196)
HSLhsl(240, 56%, 49%)
HSVhsv(240, 71%, 77%)
CMYKcmyk(70.9%, 71.4%, 0%, 23.1%)
CIE-LABlab(33.31, 45.47, -72.31)
CIE-LCHlch(33.31, 85.42, 302.16°)
OKLaboklab(44.43% 0.0149 -0.2091)
OKLCHoklch(44.43% 0.21 274.1)
XYZxyz(13.0620, 7.6825, 53.0083)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938C4 #C3C438
analogous
#387DC4 #3938C4 #7F38C4
triadic
#3938C4 #C43938 #38C439
tetradic
#3938C4 #C4387D #C3C438 #38C47F
square
#3938C4 #C4387D #C3C438 #38C47F
split-complementary
#3938C4 #C47F38 #7DC438
monochromatic
#1D1D65 #2B2A94 #3938C4 #6766D3 #9696E1

Accessibility & contrast

On white

8.28
#3938C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3938C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938C4
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938C4#FFFFFF#000000##FFFFFF
##3938C41.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3938c4;
/* rgb */ color: rgb(57, 56, 196);
/* oklch */ color: oklch(44.4% 0.210 274.1);
Tailwind
colors: {
  custom: {
    50: '#8370d7',
    500: '#3938c4',
    950: '#000000',
  },
}
SCSS
$custom: #3938c4;
$custom-light: #8370d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3938c4",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 240.429,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.44431,
    "c": 0.20963,
    "h": 274.1
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#3938C4
secondary
#CCCC8C
accent
#DF49DE
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3938C4

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

Preview Lab → · Contrast checker → · Palette generator →

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