#3938C3#3938C3

#3938C3 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.3% C 0.208 H 274.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3938C3
RGBrgb(57, 56, 195)
HSLhsl(240, 55%, 49%)
HSVhsv(240, 71%, 76%)
CMYKcmyk(70.8%, 71.3%, 0%, 23.5%)
CIE-LABlab(33.22, 45.14, -71.89)
CIE-LCHlch(33.22, 84.88, 302.13°)
OKLaboklab(44.33% 0.0151 -0.2079)
OKLCHoklch(44.33% 0.208 274.1)
XYZxyz(12.9486, 7.6371, 52.4109)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938C3 #C2C338
analogous
#387DC3 #3938C3 #7F38C3
triadic
#3938C3 #C33938 #38C339
tetradic
#3938C3 #C3387D #C2C338 #38C37F
square
#3938C3 #C3387D #C2C338 #38C37F
split-complementary
#3938C3 #C37F38 #7DC338
monochromatic
#1D1D64 #2B2A93 #3938C3 #6665D3 #9595E1

Accessibility & contrast

On white

8.31
#3938C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3938C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3938C3#FFFFFF#000000##FFFFFF
##3938C31.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C7
Deuteranopia (green-blind)
#0048C0
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3938c3;
/* rgb */ color: rgb(57, 56, 195);
/* oklch */ color: oklch(44.3% 0.208 274.1);
Tailwind
colors: {
  custom: {
    50: '#8370d6',
    500: '#3938c3',
    950: '#000000',
  },
}
SCSS
$custom: #3938c3;
$custom-light: #8370d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3938c3",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 240.432,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44332,
    "c": 0.2084,
    "h": 274.1
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#3938C3
secondary
#CBCC8B
accent
#DF49DE
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3938C3

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

Preview Lab → · Contrast checker → · Palette generator →

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