#3C38C6#3C38C6

#3C38C6 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.8% C 0.211 H 274.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3C38C6
RGBrgb(60, 56, 198)
HSLhsl(242, 56%, 50%)
HSVhsv(242, 72%, 78%)
CMYKcmyk(69.7%, 71.7%, 0%, 22.4%)
CIE-LABlab(33.70, 46.44, -72.84)
CIE-LCHlch(33.70, 86.38, 302.52°)
OKLaboklab(44.82% 0.0182 -0.2106)
OKLCHoklch(44.82% 0.211 274.9)
XYZxyz(13.4673, 7.8650, 54.2235)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38C6 #C2C638
analogous
#387BC6 #3C38C6 #8338C6
triadic
#3C38C6 #C63C38 #38C63C
tetradic
#3C38C6 #C6387B #C2C638 #38C683
square
#3C38C6 #C6387B #C2C638 #38C683
split-complementary
#3C38C6 #C68338 #7BC638
monochromatic
#1F1D67 #2E2B96 #3C38C6 #6A67D4 #9997E2

Accessibility & contrast

On white

8.16
#3C38C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3C38C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C38C6
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38C6#FFFFFF#000000##FFFFFF
##3C38C61.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3c38c6;
/* rgb */ color: rgb(60, 56, 198);
/* oklch */ color: oklch(44.8% 0.211 274.9);
Tailwind
colors: {
  custom: {
    50: '#8570d9',
    500: '#3c38c6',
    950: '#000000',
  },
}
SCSS
$custom: #3c38c6;
$custom-light: #8570d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38c6",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 241.69,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44817,
    "c": 0.21134,
    "h": 274.9
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#3C38C6
secondary
#CBCD8D
accent
#DF49DB
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3C38C6

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

Preview Lab → · Contrast checker → · Palette generator →

#3C38C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva