#3938D9#3938D9

#3938D9 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.6% C 0.235 H 272.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3938D9
RGBrgb(57, 56, 217)
HSLhsl(240, 68%, 54%)
HSVhsv(240, 74%, 85%)
CMYKcmyk(73.7%, 74.2%, 0%, 14.9%)
CIE-LABlab(35.41, 52.28, -81.04)
CIE-LCHlch(35.41, 96.44, 302.83°)
OKLaboklab(46.55% 0.0113 -0.2345)
OKLCHoklch(46.55% 0.235 272.8)
XYZxyz(15.6217, 8.7063, 66.4894)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938D9 #D8D938
analogous
#3887D9 #3938D9 #8938D9
triadic
#3938D9 #D93938 #38D939
tetradic
#3938D9 #D93887 #D8D938 #38D989
square
#3938D9 #D93887 #D8D938 #38D989
split-complementary
#3938D9 #D98938 #87D938
monochromatic
#19187E #2322B2 #3938D9 #6C6BE3 #9F9FED

Accessibility & contrast

On white

7.66
#3938D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3938D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938D9
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938D9#FFFFFF#000000##FFFFFF
##3938D91.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDE
Deuteranopia (green-blind)
#004BD6
Tritanopia (blue-blind)
#006786
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3938d9;
/* rgb */ color: rgb(57, 56, 217);
/* oklch */ color: oklch(46.6% 0.235 272.8);
Tailwind
colors: {
  custom: {
    50: '#8871e6',
    500: '#3938d9',
    950: '#000000',
  },
}
SCSS
$custom: #3938d9;
$custom-light: #8871e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3938d9",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 240.373,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.46552,
    "c": 0.23478,
    "h": 272.8
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#3938D9
secondary
#D8D994
accent
#EB3DEA
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3938D9

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

Preview Lab → · Contrast checker → · Palette generator →

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