#3C38C8#3C38C8

#3C38C8 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.0% C 0.214 H 274.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#3C38C8
RGBrgb(60, 56, 200)
HSLhsl(242, 57%, 50%)
HSVhsv(242, 72%, 78%)
CMYKcmyk(70%, 72%, 0%, 21.6%)
CIE-LABlab(33.89, 47.09, -73.69)
CIE-LCHlch(33.89, 87.45, 302.58°)
OKLaboklab(45.02% 0.0178 -0.213)
OKLCHoklch(45.02% 0.214 274.8)
XYZxyz(13.6995, 7.9578, 55.4464)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38C8 #C4C838
analogous
#387CC8 #3C38C8 #8438C8
triadic
#3C38C8 #C83C38 #38C83C
tetradic
#3C38C8 #C8387C #C4C838 #38C884
square
#3C38C8 #C8387C #C4C838 #38C884
split-complementary
#3C38C8 #C88438 #7CC838
monochromatic
#1F1D69 #2D2A99 #3C38C8 #6B68D5 #9A98E3

Accessibility & contrast

On white

8.10
#3C38C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3C38C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C38C8
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38C8#FFFFFF#000000##FFFFFF
##3C38C81.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CC
Deuteranopia (green-blind)
#0049C5
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3c38c8;
/* rgb */ color: rgb(60, 56, 200);
/* oklch */ color: oklch(45.0% 0.214 274.8);
Tailwind
colors: {
  custom: {
    50: '#8570da',
    500: '#3c38c8',
    950: '#000000',
  },
}
SCSS
$custom: #3c38c8;
$custom-light: #8570da;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38c8",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 241.667,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45015,
    "c": 0.21378,
    "h": 274.8
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#3C38C8
secondary
#CCCE8E
accent
#E048DC
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3C38C8

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

Preview Lab → · Contrast checker → · Palette generator →

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