#3938C5#3938C5

#3938C5 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.5% C 0.211 H 274.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3938C5
RGBrgb(57, 56, 197)
HSLhsl(240, 56%, 50%)
HSVhsv(240, 72%, 77%)
CMYKcmyk(71.1%, 71.6%, 0%, 22.7%)
CIE-LABlab(33.41, 45.80, -72.74)
CIE-LCHlch(33.41, 85.96, 302.20°)
OKLaboklab(44.53% 0.0147 -0.2103)
OKLCHoklch(44.53% 0.211 274)
XYZxyz(13.1762, 7.7281, 53.6098)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938C5 #C4C538
analogous
#387DC5 #3938C5 #8038C5
triadic
#3938C5 #C53938 #38C539
tetradic
#3938C5 #C5387D #C4C538 #38C580
square
#3938C5 #C5387D #C4C538 #38C580
split-complementary
#3938C5 #C58038 #7DC538
monochromatic
#1D1D66 #2B2A95 #3938C5 #6767D4 #9796E1

Accessibility & contrast

On white

8.25
#3938C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3938C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938C5
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938C5#FFFFFF#000000##FFFFFF
##3938C51.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0048C2
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3938c5;
/* rgb */ color: rgb(57, 56, 197);
/* oklch */ color: oklch(44.5% 0.211 274.0);
Tailwind
colors: {
  custom: {
    50: '#8470d8',
    500: '#3938c5',
    950: '#000000',
  },
}
SCSS
$custom: #3938c5;
$custom-light: #8470d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3938c5",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 240.426,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4453,
    "c": 0.21086,
    "h": 274
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

primary
#3938C5
secondary
#CCCD8C
accent
#DF49DE
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3938C5

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

Preview Lab → · Contrast checker → · Palette generator →

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