#3938C1#3938C1

#3938C1 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.1% C 0.206 H 274.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#3938C1
RGBrgb(57, 56, 193)
HSLhsl(240, 55%, 49%)
HSVhsv(240, 71%, 76%)
CMYKcmyk(70.5%, 71%, 0%, 24.3%)
CIE-LABlab(33.02, 44.48, -71.03)
CIE-LCHlch(33.02, 83.81, 302.05°)
OKLaboklab(44.14% 0.0154 -0.2054)
OKLCHoklch(44.14% 0.206 274.3)
XYZxyz(12.7240, 7.5472, 51.2279)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938C1 #C0C138
analogous
#387CC1 #3938C1 #7E38C1
triadic
#3938C1 #C13938 #38C139
tetradic
#3938C1 #C1387C #C0C138 #38C17E
square
#3938C1 #C1387C #C0C138 #38C17E
split-complementary
#3938C1 #C17E38 #7CC138
monochromatic
#1D1C62 #2B2A92 #3938C1 #6564D2 #9494E0

Accessibility & contrast

On white

8.37
#3938C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3938C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938C1
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938C1#FFFFFF#000000##FFFFFF
##3938C11.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0047BE
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3938c1;
/* rgb */ color: rgb(57, 56, 193);
/* oklch */ color: oklch(44.1% 0.206 274.3);
Tailwind
colors: {
  custom: {
    50: '#8370d5',
    500: '#3938c1',
    950: '#000000',
  },
}
SCSS
$custom: #3938c1;
$custom-light: #8370d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3938c1",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 240.438,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44135,
    "c": 0.20594,
    "h": 274.3
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3938C1

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

Preview Lab → · Contrast checker → · Palette generator →

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