#3938C2#3938C2

#3938C2 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.2% C 0.207 H 274.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3938C2
RGBrgb(57, 56, 194)
HSLhsl(240, 55%, 49%)
HSVhsv(240, 71%, 76%)
CMYKcmyk(70.6%, 71.1%, 0%, 23.9%)
CIE-LABlab(33.12, 44.81, -71.46)
CIE-LCHlch(33.12, 84.35, 302.09°)
OKLaboklab(44.23% 0.0152 -0.2066)
OKLCHoklch(44.23% 0.207 274.2)
XYZxyz(12.8359, 7.5920, 51.8174)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938C2 #C1C238
analogous
#387CC2 #3938C2 #7E38C2
triadic
#3938C2 #C23938 #38C239
tetradic
#3938C2 #C2387C #C1C238 #38C27E
square
#3938C2 #C2387C #C1C238 #38C27E
split-complementary
#3938C2 #C27E38 #7CC238
monochromatic
#1D1D63 #2B2A93 #3938C2 #6665D2 #9594E0

Accessibility & contrast

On white

8.34
#3938C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3938C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938C2
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938C2#FFFFFF#000000##FFFFFF
##3938C21.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#005F79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3938c2;
/* rgb */ color: rgb(57, 56, 194);
/* oklch */ color: oklch(44.2% 0.207 274.2);
Tailwind
colors: {
  custom: {
    50: '#8370d6',
    500: '#3938c2',
    950: '#000000',
  },
}
SCSS
$custom: #3938c2;
$custom-light: #8370d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3938c2",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 240.435,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44233,
    "c": 0.20718,
    "h": 274.2
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#3938C2
secondary
#CBCB8A
accent
#DF49DD
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3938C2

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

Preview Lab → · Contrast checker → · Palette generator →

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