#3C38D1#3C38D1

#3C38D1 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.225 H 274.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3C38D1
RGBrgb(60, 56, 209)
HSLhsl(242, 62%, 52%)
HSVhsv(242, 73%, 82%)
CMYKcmyk(71.3%, 73.2%, 0%, 18%)
CIE-LABlab(34.78, 49.99, -77.45)
CIE-LCHlch(34.78, 92.18, 302.84°)
OKLaboklab(45.91% 0.0163 -0.224)
OKLCHoklch(45.91% 0.225 274.2)
XYZxyz(14.7825, 8.3910, 61.1498)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38D1 #CDD138
analogous
#3880D1 #3C38D1 #8938D1
triadic
#3C38D1 #D13C38 #38D13C
tetradic
#3C38D1 #D13880 #CDD138 #38D189
square
#3C38D1 #D13880 #CDD138 #38D189
split-complementary
#3C38D1 #D18938 #80D138
monochromatic
#1D1B74 #2A26A6 #3C38D1 #6D6ADC #9D9BE8

Accessibility & contrast

On white

7.84
#3C38D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3C38D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C38D1
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38D1#FFFFFF#000000##FFFFFF
##3C38D11.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D5
Deuteranopia (green-blind)
#004BCE
Tritanopia (blue-blind)
#006481
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3c38d1;
/* rgb */ color: rgb(60, 56, 209);
/* oklch */ color: oklch(45.9% 0.225 274.2);
Tailwind
colors: {
  custom: {
    50: '#8771e0',
    500: '#3c38d1',
    950: '#000000',
  },
}
SCSS
$custom: #3c38d1;
$custom-light: #8771e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38d1",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 209
  },
  "hsl": {
    "h": 241.569,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.45914,
    "c": 0.2246,
    "h": 274.2
  },
  "luminance": 0.08392
}

Semantic roles & 50–950 ramp

primary
#3C38D1
secondary
#D2D491
accent
#E642E1
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3C38D1

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

Preview Lab → · Contrast checker → · Palette generator →

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