#3C38C0#3C38C0

#3C38C0 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.2% C 0.204 H 275.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3C38C0
RGBrgb(60, 56, 192)
HSLhsl(242, 55%, 49%)
HSVhsv(242, 71%, 75%)
CMYKcmyk(68.7%, 70.8%, 0%, 24.7%)
CIE-LABlab(33.12, 44.48, -70.27)
CIE-LCHlch(33.12, 83.17, 302.33°)
OKLaboklab(44.23% 0.0192 -0.2031)
OKLCHoklch(44.23% 0.204 275.4)
XYZxyz(12.7889, 7.5936, 50.6507)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38C0 #BCC038
analogous
#3878C0 #3C38C0 #8038C0
triadic
#3C38C0 #C03C38 #38C03C
tetradic
#3C38C0 #C03878 #BCC038 #38C080
square
#3C38C0 #C03878 #BCC038 #38C080
split-complementary
#3C38C0 #C08038 #78C038
monochromatic
#1E1C61 #2D2A91 #3C38C0 #6764D2 #9593DF

Accessibility & contrast

On white

8.34
#3C38C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3C38C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C38C0
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38C0#FFFFFF#000000##FFFFFF
##3C38C01.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C4
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3c38c0;
/* rgb */ color: rgb(60, 56, 192);
/* oklch */ color: oklch(44.2% 0.204 275.4);
Tailwind
colors: {
  custom: {
    50: '#8470d4',
    500: '#3c38c0',
    950: '#000000',
  },
}
SCSS
$custom: #3c38c0;
$custom-light: #8470d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38c0",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 241.765,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44229,
    "c": 0.20398,
    "h": 275.4
  },
  "luminance": 0.07595
}

Semantic roles & 50–950 ramp

primary
#3C38C0
secondary
#C9CB89
accent
#DE4ADA
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3C38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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