#3938AD#3938AD

#3938AD is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.181 H 275.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#3938AD
RGBrgb(57, 56, 173)
HSLhsl(241, 51%, 45%)
HSVhsv(241, 68%, 68%)
CMYKcmyk(67.1%, 67.6%, 0%, 32.2%)
CIE-LABlab(31.15, 37.77, -62.26)
CIE-LCHlch(31.15, 72.82, 301.24°)
OKLaboklab(42.22% 0.0181 -0.1797)
OKLCHoklch(42.22% 0.181 275.8)
XYZxyz(10.6419, 6.7144, 40.2623)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938AD #ACAD38
analogous
#3871AD #3938AD #7438AD
triadic
#3938AD #AD3938 #38AD39
tetradic
#3938AD #AD3871 #ACAD38 #38AD74
square
#3938AD #AD3871 #ACAD38 #38AD74
split-complementary
#3938AD #AD7438 #71AD38
monochromatic
#1B1A51 #2A297F #3938AD #5A59C9 #8887D8

Accessibility & contrast

On white

8.96
#3938AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3938AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938AD
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938AD#FFFFFF#000000##FFFFFF
##3938AD1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3938ad;
/* rgb */ color: rgb(57, 56, 173);
/* oklch */ color: oklch(42.2% 0.181 275.8);
Tailwind
colors: {
  custom: {
    50: '#7e6fc6',
    500: '#3938ad',
    950: '#000000',
  },
}
SCSS
$custom: #3938ad;
$custom-light: #7e6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3938ad",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 240.513,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42216,
    "c": 0.18064,
    "h": 275.8
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#3938AD
secondary
#C2C27F
accent
#DB4DD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3938AD

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

Preview Lab → · Contrast checker → · Palette generator →

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