#3938AA#3938AA

#3938AA is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.177 H 276.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#3938AA
RGBrgb(57, 56, 170)
HSLhsl(241, 50%, 44%)
HSVhsv(241, 67%, 67%)
CMYKcmyk(66.5%, 67.1%, 0%, 33.3%)
CIE-LABlab(30.88, 36.74, -60.91)
CIE-LCHlch(30.88, 71.13, 301.10°)
OKLaboklab(41.94% 0.0185 -0.1758)
OKLCHoklch(41.94% 0.177 276)
XYZxyz(10.3548, 6.5996, 38.7506)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938AA #A9AA38
analogous
#3870AA #3938AA #7238AA
triadic
#3938AA #AA3938 #38AA39
tetradic
#3938AA #AA3870 #A9AA38 #38AA72
square
#3938AA #AA3870 #A9AA38 #38AA72
split-complementary
#3938AA #AA7238 #70AA38
monochromatic
#1A1A4E #2A297C #3938AA #5857C8 #8685D7

Accessibility & contrast

On white

9.05
#3938AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3938AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3938AA#FFFFFF#000000##FFFFFF
##3938AA1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3938aa;
/* rgb */ color: rgb(57, 56, 170);
/* oklch */ color: oklch(41.9% 0.177 276.0);
Tailwind
colors: {
  custom: {
    50: '#7e6fc4',
    500: '#3938aa',
    950: '#000000',
  },
}
SCSS
$custom: #3938aa;
$custom-light: #7e6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3938aa",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 240.526,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41938,
    "c": 0.17674,
    "h": 276
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#3938AA
secondary
#C0C17D
accent
#DA4ED9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3938AA

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

Preview Lab → · Contrast checker → · Palette generator →

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