#3938B7#3938B7

#3938B7 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.2% C 0.193 H 275.0°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#3938B7
RGBrgb(57, 56, 183)
HSLhsl(240, 53%, 47%)
HSVhsv(240, 69%, 72%)
CMYKcmyk(68.9%, 69.4%, 0%, 28.2%)
CIE-LABlab(32.07, 41.14, -66.70)
CIE-LCHlch(32.07, 78.37, 301.67°)
OKLaboklab(43.16% 0.0168 -0.1927)
OKLCHoklch(43.16% 0.193 275)
XYZxyz(11.6459, 7.1160, 45.5504)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938B7 #B6B738
analogous
#3877B7 #3938B7 #7838B7
triadic
#3938B7 #B73938 #38B739
tetradic
#3938B7 #B73877 #B6B738 #38B778
square
#3938B7 #B73877 #B6B738 #38B778
split-complementary
#3938B7 #B77838 #77B738
monochromatic
#1C1B59 #2A2A88 #3938B7 #5F5ECE #8E8DDC

Accessibility & contrast

On white

8.67
#3938B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3938B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3938B7#FFFFFF#000000##FFFFFF
##3938B71.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0046B5
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3938b7;
/* rgb */ color: rgb(57, 56, 183);
/* oklch */ color: oklch(43.2% 0.193 275.0);
Tailwind
colors: {
  custom: {
    50: '#816fce',
    500: '#3938b7',
    950: '#000000',
  },
}
SCSS
$custom: #3938b7;
$custom-light: #816fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3938b7",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 240.472,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43163,
    "c": 0.19345,
    "h": 275
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#3938B7
secondary
#C6C784
accent
#DD4BDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3938B7

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

Preview Lab → · Contrast checker → · Palette generator →

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