#3938CC#3938CC

#3938CC is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.2% C 0.219 H 273.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3938CC
RGBrgb(57, 56, 204)
HSLhsl(240, 59%, 51%)
HSVhsv(240, 73%, 80%)
CMYKcmyk(72.1%, 72.5%, 0%, 20%)
CIE-LABlab(34.10, 48.09, -75.68)
CIE-LCHlch(34.10, 89.67, 302.43°)
OKLaboklab(45.23% 0.0136 -0.2189)
OKLCHoklch(45.23% 0.219 273.6)
XYZxyz(13.9970, 8.0564, 57.9324)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938CC #CBCC38
analogous
#3881CC #3938CC #8338CC
triadic
#3938CC #CC3938 #38CC39
tetradic
#3938CC #CC3881 #CBCC38 #38CC83
square
#3938CC #CC3881 #CBCC38 #38CC83
split-complementary
#3938CC #CC8338 #81CC38
monochromatic
#1D1C6E #29299E #3938CC #6969D8 #9A99E5

Accessibility & contrast

On white

8.04
#3938CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3938CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938CC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938CC#FFFFFF#000000##FFFFFF
##3938CC1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D0
Deuteranopia (green-blind)
#0049C9
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3938cc;
/* rgb */ color: rgb(57, 56, 204);
/* oklch */ color: oklch(45.2% 0.219 273.6);
Tailwind
colors: {
  custom: {
    50: '#8570dd',
    500: '#3938cc',
    950: '#000000',
  },
}
SCSS
$custom: #3938cc;
$custom-light: #8570dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3938cc",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 240.405,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45229,
    "c": 0.21935,
    "h": 273.6
  },
  "luminance": 0.08058
}

Semantic roles & 50–950 ramp

primary
#3938CC
secondary
#D0D18F
accent
#E245E1
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3938CC

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

Preview Lab → · Contrast checker → · Palette generator →

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