#3C38C4#3C38C4

#3C38C4 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.6% C 0.209 H 275.1°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#3C38C4
RGBrgb(60, 56, 196)
HSLhsl(242, 56%, 49%)
HSVhsv(242, 71%, 77%)
CMYKcmyk(69.4%, 71.4%, 0%, 23.1%)
CIE-LABlab(33.51, 45.79, -71.99)
CIE-LCHlch(33.51, 85.32, 302.46°)
OKLaboklab(44.62% 0.0185 -0.2081)
OKLCHoklch(44.62% 0.209 275.1)
XYZxyz(13.2382, 7.7733, 53.0166)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38C4 #C0C438
analogous
#387AC4 #3C38C4 #8238C4
triadic
#3C38C4 #C43C38 #38C43C
tetradic
#3C38C4 #C4387A #C0C438 #38C482
square
#3C38C4 #C4387A #C0C438 #38C482
split-complementary
#3C38C4 #C48238 #7AC438
monochromatic
#1F1D65 #2D2A94 #3C38C4 #6966D3 #9896E1

Accessibility & contrast

On white

8.22
#3C38C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3C38C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C38C4
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38C4#FFFFFF#000000##FFFFFF
##3C38C41.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3c38c4;
/* rgb */ color: rgb(60, 56, 196);
/* oklch */ color: oklch(44.6% 0.209 275.1);
Tailwind
colors: {
  custom: {
    50: '#8570d7',
    500: '#3c38c4',
    950: '#000000',
  },
}
SCSS
$custom: #3c38c4;
$custom-light: #8570d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38c4",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 241.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4462,
    "c": 0.2089,
    "h": 275.1
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#3C38C4
secondary
#CACC8C
accent
#DF49DB
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3C38C4

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

Preview Lab → · Contrast checker → · Palette generator →

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