#3938BD#3938BD

#3938BD is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.7% C 0.201 H 274.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#3938BD
RGBrgb(57, 56, 189)
HSLhsl(240, 54%, 48%)
HSVhsv(240, 70%, 74%)
CMYKcmyk(69.8%, 70.4%, 0%, 25.9%)
CIE-LABlab(32.64, 43.15, -69.31)
CIE-LCHlch(32.64, 81.65, 301.90°)
OKLaboklab(43.74% 0.016 -0.2003)
OKLCHoklch(43.74% 0.201 274.6)
XYZxyz(12.2838, 7.3712, 48.9097)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938BD #BCBD38
analogous
#3879BD #3938BD #7B38BD
triadic
#3938BD #BD3938 #38BD39
tetradic
#3938BD #BD3879 #BCBD38 #38BD7B
square
#3938BD #BD3879 #BCBD38 #38BD7B
split-complementary
#3938BD #BD7B38 #79BD38
monochromatic
#1D1C5F #2B2A8E #3938BD #6362D0 #9291DE

Accessibility & contrast

On white

8.49
#3938BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3938BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938BD
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938BD#FFFFFF#000000##FFFFFF
##3938BD1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0047BB
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3938bd;
/* rgb */ color: rgb(57, 56, 189);
/* oklch */ color: oklch(43.7% 0.201 274.6);
Tailwind
colors: {
  custom: {
    50: '#8270d2',
    500: '#3938bd',
    950: '#000000',
  },
}
SCSS
$custom: #3938bd;
$custom-light: #8270d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3938bd",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 240.451,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43743,
    "c": 0.20099,
    "h": 274.6
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#3938BD
secondary
#C9C987
accent
#DE4ADD
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3938BD

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

Preview Lab → · Contrast checker → · Palette generator →

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