#3C38CF#3C38CF

#3C38CF is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.7% C 0.222 H 274.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#3C38CF
RGBrgb(60, 56, 207)
HSLhsl(242, 61%, 52%)
HSVhsv(242, 73%, 81%)
CMYKcmyk(71%, 72.9%, 0%, 18.8%)
CIE-LABlab(34.59, 49.35, -76.62)
CIE-LCHlch(34.59, 91.14, 302.79°)
OKLaboklab(45.71% 0.0166 -0.2216)
OKLCHoklch(45.71% 0.222 274.3)
XYZxyz(14.5364, 8.2926, 59.8539)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38CF #CBCF38
analogous
#3880CF #3C38CF #8738CF
triadic
#3C38CF #CF3C38 #38CF3C
tetradic
#3C38CF #CF3880 #CBCF38 #38CF87
square
#3C38CF #CF3880 #CBCF38 #38CF87
split-complementary
#3C38CF #CF8738 #80CF38
monochromatic
#1E1B71 #2A27A3 #3C38CF #6C69DB #9D9BE7

Accessibility & contrast

On white

7.90
#3C38CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3C38CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C38CF
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38CF#FFFFFF#000000##FFFFFF
##3C38CF1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D3
Deuteranopia (green-blind)
#004ACC
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3c38cf;
/* rgb */ color: rgb(60, 56, 207);
/* oklch */ color: oklch(45.7% 0.222 274.3);
Tailwind
colors: {
  custom: {
    50: '#8771df',
    500: '#3c38cf',
    950: '#000000',
  },
}
SCSS
$custom: #3c38cf;
$custom-light: #8771df;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38cf",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 241.589,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.45713,
    "c": 0.22221,
    "h": 274.3
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

primary
#3C38CF
secondary
#D1D390
accent
#E444E0
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3C38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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