#3938DC#3938DC

#3938DC is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.9% C 0.238 H 272.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3938DC
RGBrgb(57, 56, 220)
HSLhsl(240, 70%, 54%)
HSVhsv(240, 75%, 86%)
CMYKcmyk(74.1%, 74.5%, 0%, 13.7%)
CIE-LABlab(35.72, 53.23, -82.25)
CIE-LCHlch(35.72, 97.97, 302.91°)
OKLaboklab(46.86% 0.0108 -0.238)
OKLCHoklch(46.86% 0.238 272.6)
XYZxyz(16.0154, 8.8638, 68.5631)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938DC #DBDC38
analogous
#3889DC #3938DC #8B38DC
triadic
#3938DC #DC3938 #38DC39
tetradic
#3938DC #DC3889 #DBDC38 #38DC8B
square
#3938DC #DC3889 #DBDC38 #38DC8B
split-complementary
#3938DC #DC8B38 #89DC38
monochromatic
#181783 #2120B7 #3938DC #6D6CE5 #A1A0EE

Accessibility & contrast

On white

7.57
#3938DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3938DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938DC
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938DC#FFFFFF#000000##FFFFFF
##3938DC1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE1
Deuteranopia (green-blind)
#004CD9
Tritanopia (blue-blind)
#006888
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3938dc;
/* rgb */ color: rgb(57, 56, 220);
/* oklch */ color: oklch(46.9% 0.238 272.6);
Tailwind
colors: {
  custom: {
    50: '#8971e8',
    500: '#3938dc',
    950: '#000000',
  },
}
SCSS
$custom: #3938dc;
$custom-light: #8971e8;
$custom-dark: #000000;
JSON
{
  "hex": "#3938dc",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 220
  },
  "hsl": {
    "h": 240.366,
    "s": 70.085,
    "l": 54.118
  },
  "oklch": {
    "l": 0.46862,
    "c": 0.23828,
    "h": 272.6
  },
  "luminance": 0.08866
}

Semantic roles & 50–950 ramp

primary
#3938DC
secondary
#DADB95
accent
#ED3BEC
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3938DC

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

Preview Lab → · Contrast checker → · Palette generator →

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