#3938B9#3938B9

#3938B9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.4% C 0.196 H 274.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3938B9
RGBrgb(57, 56, 185)
HSLhsl(240, 54%, 47%)
HSVhsv(240, 70%, 73%)
CMYKcmyk(69.2%, 69.7%, 0%, 27.5%)
CIE-LABlab(32.26, 41.82, -67.58)
CIE-LCHlch(32.26, 79.47, 301.75°)
OKLaboklab(43.36% 0.0166 -0.1953)
OKLCHoklch(43.36% 0.196 274.8)
XYZxyz(11.8556, 7.1999, 46.6545)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938B9 #B8B938
analogous
#3878B9 #3938B9 #7A38B9
triadic
#3938B9 #B93938 #38B939
tetradic
#3938B9 #B93878 #B8B938 #38B97A
square
#3938B9 #B93878 #B8B938 #38B97A
split-complementary
#3938B9 #B97A38 #78B938
monochromatic
#1C1C5B #2B2A8A #3938B9 #605FCF #8F8EDD

Accessibility & contrast

On white

8.61
#3938B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3938B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3938B9#FFFFFF#000000##FFFFFF
##3938B91.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BD
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3938b9;
/* rgb */ color: rgb(57, 56, 185);
/* oklch */ color: oklch(43.4% 0.196 274.8);
Tailwind
colors: {
  custom: {
    50: '#8170cf',
    500: '#3938b9',
    950: '#000000',
  },
}
SCSS
$custom: #3938b9;
$custom-light: #8170cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3938b9",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 240.465,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43356,
    "c": 0.19597,
    "h": 274.8
  },
  "luminance": 0.07201
}

Semantic roles & 50–950 ramp

primary
#3938B9
secondary
#C7C885
accent
#DD4BDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3938B9

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

Preview Lab → · Contrast checker → · Palette generator →

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