#3C38C7#3C38C7

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

Color values

HEX#3C38C7
RGBrgb(60, 56, 199)
HSLhsl(242, 56%, 50%)
HSVhsv(242, 72%, 78%)
CMYKcmyk(69.8%, 71.9%, 0%, 22%)
CIE-LABlab(33.80, 46.77, -73.26)
CIE-LCHlch(33.80, 86.92, 302.55°)
OKLaboklab(44.92% 0.018 -0.2118)
OKLCHoklch(44.92% 0.213 274.9)
XYZxyz(13.5830, 7.9112, 54.8329)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38C7 #C3C738
analogous
#387CC7 #3C38C7 #8338C7
triadic
#3C38C7 #C73C38 #38C73C
tetradic
#3C38C7 #C7387C #C3C738 #38C783
square
#3C38C7 #C7387C #C3C738 #38C783
split-complementary
#3C38C7 #C78338 #7CC738
monochromatic
#1F1D67 #2E2B97 #3C38C7 #6B68D4 #9A98E2

Accessibility & contrast

On white

8.13
#3C38C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3C38C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C38C7
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38C7#FFFFFF#000000##FFFFFF
##3C38C71.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0049C4
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3c38c7;
/* rgb */ color: rgb(60, 56, 199);
/* oklch */ color: oklch(44.9% 0.213 274.9);
Tailwind
colors: {
  custom: {
    50: '#8570d9',
    500: '#3c38c7',
    950: '#000000',
  },
}
SCSS
$custom: #3c38c7;
$custom-light: #8570d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38c7",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 241.678,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.44916,
    "c": 0.21256,
    "h": 274.9
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#3C38C7
secondary
#CCCD8D
accent
#DF48DB
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3C38C7

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

Preview Lab → · Contrast checker → · Palette generator →

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