#3938CD#3938CD

#3938CD is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.3% C 0.221 H 273.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#3938CD
RGBrgb(57, 56, 205)
HSLhsl(240, 60%, 51%)
HSVhsv(240, 73%, 80%)
CMYKcmyk(72.2%, 72.7%, 0%, 19.6%)
CIE-LABlab(34.20, 48.42, -76.10)
CIE-LCHlch(34.20, 90.20, 302.46°)
OKLaboklab(45.33% 0.0134 -0.2201)
OKLCHoklch(45.33% 0.221 273.5)
XYZxyz(14.1173, 8.1046, 58.5661)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938CD #CCCD38
analogous
#3881CD #3938CD #8338CD
triadic
#3938CD #CD3938 #38CD39
tetradic
#3938CD #CD3881 #CCCD38 #38CD83
square
#3938CD #CD3881 #CCCD38 #38CD83
split-complementary
#3938CD #CD8338 #81CD38
monochromatic
#1C1C6F #2928A0 #3938CD #6A69D9 #9A9AE6

Accessibility & contrast

On white

8.01
#3938CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3938CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938CD
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938CD#FFFFFF#000000##FFFFFF
##3938CD1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D1
Deuteranopia (green-blind)
#0049CA
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3938cd;
/* rgb */ color: rgb(57, 56, 205);
/* oklch */ color: oklch(45.3% 0.221 273.5);
Tailwind
colors: {
  custom: {
    50: '#8570de',
    500: '#3938cd',
    950: '#000000',
  },
}
SCSS
$custom: #3938cd;
$custom-light: #8570de;
$custom-dark: #000000;
JSON
{
  "hex": "#3938cd",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 240.403,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4533,
    "c": 0.22055,
    "h": 273.5
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#3938CD
secondary
#D1D18F
accent
#E345E2
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3938CD

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

Preview Lab → · Contrast checker → · Palette generator →

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