#3938CA#3938CA

#3938CA is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.0% C 0.217 H 273.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#3938CA
RGBrgb(57, 56, 202)
HSLhsl(240, 58%, 51%)
HSVhsv(240, 72%, 79%)
CMYKcmyk(71.8%, 72.3%, 0%, 20.8%)
CIE-LABlab(33.90, 47.44, -74.85)
CIE-LCHlch(33.90, 88.61, 302.37°)
OKLaboklab(45.03% 0.0139 -0.2165)
OKLCHoklch(45.03% 0.217 273.7)
XYZxyz(13.7586, 7.9611, 56.6772)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938CA #C9CA38
analogous
#3880CA #3938CA #8238CA
triadic
#3938CA #CA3938 #38CA39
tetradic
#3938CA #CA3880 #C9CA38 #38CA82
square
#3938CA #CA3880 #C9CA38 #38CA82
split-complementary
#3938CA #CA8238 #80CA38
monochromatic
#1D1D6B #2A299B #3938CA #6968D7 #9999E4

Accessibility & contrast

On white

8.10
#3938CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3938CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938CA
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938CA#FFFFFF#000000##FFFFFF
##3938CA1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#0049C7
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3938ca;
/* rgb */ color: rgb(57, 56, 202);
/* oklch */ color: oklch(45.0% 0.217 273.7);
Tailwind
colors: {
  custom: {
    50: '#8570db',
    500: '#3938ca',
    950: '#000000',
  },
}
SCSS
$custom: #3938ca;
$custom-light: #8570db;
$custom-dark: #000000;
JSON
{
  "hex": "#3938ca",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 240.411,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45028,
    "c": 0.21694,
    "h": 273.7
  },
  "luminance": 0.07962
}

Semantic roles & 50–950 ramp

primary
#3938CA
secondary
#CFCF8E
accent
#E147E0
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3938CA

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

Preview Lab → · Contrast checker → · Palette generator →

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