#3938C8#3938C8

#3938C8 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.8% C 0.215 H 273.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3938C8
RGBrgb(57, 56, 200)
HSLhsl(240, 57%, 50%)
HSVhsv(240, 72%, 78%)
CMYKcmyk(71.5%, 72%, 0%, 21.6%)
CIE-LABlab(33.70, 46.78, -74.01)
CIE-LCHlch(33.70, 87.55, 302.30°)
OKLaboklab(44.83% 0.0143 -0.214)
OKLCHoklch(44.83% 0.215 273.8)
XYZxyz(13.5234, 7.8670, 55.4382)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938C8 #C7C838
analogous
#387FC8 #3938C8 #8138C8
triadic
#3938C8 #C83938 #38C839
tetradic
#3938C8 #C8387F #C7C838 #38C881
square
#3938C8 #C8387F #C7C838 #38C881
split-complementary
#3938C8 #C88138 #7FC838
monochromatic
#1D1D69 #2B2A99 #3938C8 #6968D5 #9898E3

Accessibility & contrast

On white

8.16
#3938C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3938C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3938C8#FFFFFF#000000##FFFFFF
##3938C81.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CC
Deuteranopia (green-blind)
#0048C5
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3938c8;
/* rgb */ color: rgb(57, 56, 200);
/* oklch */ color: oklch(44.8% 0.215 273.8);
Tailwind
colors: {
  custom: {
    50: '#8470da',
    500: '#3938c8',
    950: '#000000',
  },
}
SCSS
$custom: #3938c8;
$custom-light: #8470da;
$custom-dark: #000000;
JSON
{
  "hex": "#3938c8",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 240.417,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.44828,
    "c": 0.21451,
    "h": 273.8
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#3938C8
secondary
#CECE8E
accent
#E048DF
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3938C8

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

Preview Lab → · Contrast checker → · Palette generator →

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