#3C38C5#3C38C5

#3C38C5 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.7% C 0.210 H 275.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#3C38C5
RGBrgb(60, 56, 197)
HSLhsl(242, 56%, 50%)
HSVhsv(242, 72%, 77%)
CMYKcmyk(69.5%, 71.6%, 0%, 22.7%)
CIE-LABlab(33.60, 46.12, -72.41)
CIE-LCHlch(33.60, 85.85, 302.49°)
OKLaboklab(44.72% 0.0184 -0.2093)
OKLCHoklch(44.72% 0.21 275)
XYZxyz(13.3524, 7.8190, 53.6180)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38C5 #C1C538
analogous
#387BC5 #3C38C5 #8338C5
triadic
#3C38C5 #C53C38 #38C53C
tetradic
#3C38C5 #C5387B #C1C538 #38C583
square
#3C38C5 #C5387B #C1C538 #38C583
split-complementary
#3C38C5 #C58338 #7BC538
monochromatic
#1F1D66 #2D2A95 #3C38C5 #6A67D4 #9896E1

Accessibility & contrast

On white

8.19
#3C38C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3C38C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C38C5
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38C5#FFFFFF#000000##FFFFFF
##3C38C51.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0049C2
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3c38c5;
/* rgb */ color: rgb(60, 56, 197);
/* oklch */ color: oklch(44.7% 0.210 275.0);
Tailwind
colors: {
  custom: {
    50: '#8570d8',
    500: '#3c38c5',
    950: '#000000',
  },
}
SCSS
$custom: #3c38c5;
$custom-light: #8570d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38c5",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 241.702,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44718,
    "c": 0.21012,
    "h": 275
  },
  "luminance": 0.0782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C38C5

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

Preview Lab → · Contrast checker → · Palette generator →

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