#3C38CD#3C38CD

#3C38CD is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.5% C 0.220 H 274.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3C38CD
RGBrgb(60, 56, 205)
HSLhsl(242, 60%, 51%)
HSVhsv(242, 73%, 80%)
CMYKcmyk(70.7%, 72.7%, 0%, 19.6%)
CIE-LABlab(34.39, 48.71, -75.79)
CIE-LCHlch(34.39, 90.09, 302.73°)
OKLaboklab(45.51% 0.017 -0.2192)
OKLCHoklch(45.51% 0.22 274.4)
XYZxyz(14.2934, 8.1954, 58.5744)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38CD #C9CD38
analogous
#387ECD #3C38CD #8638CD
triadic
#3C38CD #CD3C38 #38CD3C
tetradic
#3C38CD #CD387E #C9CD38 #38CD86
square
#3C38CD #CD387E #C9CD38 #38CD86
split-complementary
#3C38CD #CD8638 #7ECD38
monochromatic
#1E1C6F #2B28A0 #3C38CD #6C69D9 #9C9AE6

Accessibility & contrast

On white

7.96
#3C38CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3C38CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C38CD
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38CD#FFFFFF#000000##FFFFFF
##3C38CD1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D1
Deuteranopia (green-blind)
#004ACA
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3c38cd;
/* rgb */ color: rgb(60, 56, 205);
/* oklch */ color: oklch(45.5% 0.220 274.4);
Tailwind
colors: {
  custom: {
    50: '#8670de',
    500: '#3c38cd',
    950: '#000000',
  },
}
SCSS
$custom: #3c38cd;
$custom-light: #8670de;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38cd",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 241.611,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45512,
    "c": 0.21982,
    "h": 274.4
  },
  "luminance": 0.08197
}

Semantic roles & 50–950 ramp

primary
#3C38CD
secondary
#D0D18F
accent
#E345DF
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3C38CD

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

Preview Lab → · Contrast checker → · Palette generator →

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