#3938BF#3938BF

#3938BF is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 43.9% C 0.203 H 274.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#3938BF
RGBrgb(57, 56, 191)
HSLhsl(240, 55%, 48%)
HSVhsv(240, 71%, 75%)
CMYKcmyk(70.2%, 70.7%, 0%, 25.1%)
CIE-LABlab(32.83, 43.82, -70.18)
CIE-LCHlch(32.83, 82.73, 301.98°)
OKLaboklab(43.94% 0.0157 -0.2029)
OKLCHoklch(43.94% 0.203 274.4)
XYZxyz(12.5024, 7.4586, 50.0609)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938BF #BEBF38
analogous
#387BBF #3938BF #7C38BF
triadic
#3938BF #BF3938 #38BF39
tetradic
#3938BF #BF387B #BEBF38 #38BF7C
square
#3938BF #BF387B #BEBF38 #38BF7C
split-complementary
#3938BF #BF7C38 #7BBF38
monochromatic
#1D1C60 #2B2A90 #3938BF #6463D1 #9392DF

Accessibility & contrast

On white

8.43
#3938BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3938BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3938BF#FFFFFF#000000##FFFFFF
##3938BF1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#0047BD
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3938bf;
/* rgb */ color: rgb(57, 56, 191);
/* oklch */ color: oklch(43.9% 0.203 274.4);
Tailwind
colors: {
  custom: {
    50: '#8270d4',
    500: '#3938bf',
    950: '#000000',
  },
}
SCSS
$custom: #3938bf;
$custom-light: #8270d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3938bf",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 240.444,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43939,
    "c": 0.20347,
    "h": 274.4
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3938BF

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

Preview Lab → · Contrast checker → · Palette generator →

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