#3938C9#3938C9

#3938C9 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.9% C 0.216 H 273.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3938C9
RGBrgb(57, 56, 201)
HSLhsl(240, 57%, 50%)
HSVhsv(240, 72%, 79%)
CMYKcmyk(71.6%, 72.1%, 0%, 21.2%)
CIE-LABlab(33.80, 47.11, -74.43)
CIE-LCHlch(33.80, 88.08, 302.33°)
OKLaboklab(44.93% 0.0141 -0.2153)
OKLCHoklch(44.93% 0.216 273.7)
XYZxyz(13.6406, 7.9139, 56.0557)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938C9 #C8C938
analogous
#387FC9 #3938C9 #8238C9
triadic
#3938C9 #C93938 #38C939
tetradic
#3938C9 #C9387F #C8C938 #38C982
square
#3938C9 #C9387F #C8C938 #38C982
split-complementary
#3938C9 #C98238 #7FC938
monochromatic
#1D1D6A #2B2A9A #3938C9 #6968D6 #9998E3

Accessibility & contrast

On white

8.13
#3938C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3938C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938C9
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938C9#FFFFFF#000000##FFFFFF
##3938C91.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#0049C6
Tritanopia (blue-blind)
#00617D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3938c9;
/* rgb */ color: rgb(57, 56, 201);
/* oklch */ color: oklch(44.9% 0.216 273.7);
Tailwind
colors: {
  custom: {
    50: '#8470db',
    500: '#3938c9',
    950: '#000000',
  },
}
SCSS
$custom: #3938c9;
$custom-light: #8470db;
$custom-dark: #000000;
JSON
{
  "hex": "#3938c9",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 240.414,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.21573,
    "h": 273.7
  },
  "luminance": 0.07915
}

Semantic roles & 50–950 ramp

primary
#3938C9
secondary
#CECF8E
accent
#E147E0
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3938C9

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

Preview Lab → · Contrast checker → · Palette generator →

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