#3C38CA#3C38CA

#3C38CA is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.2% C 0.216 H 274.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3C38CA
RGBrgb(60, 56, 202)
HSLhsl(242, 58%, 51%)
HSVhsv(242, 72%, 79%)
CMYKcmyk(70.3%, 72.3%, 0%, 20.8%)
CIE-LABlab(34.09, 47.74, -74.53)
CIE-LCHlch(34.09, 88.51, 302.64°)
OKLaboklab(45.21% 0.0175 -0.2155)
OKLCHoklch(45.21% 0.216 274.6)
XYZxyz(13.9348, 8.0519, 56.6855)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38CA #C6CA38
analogous
#387DCA #3C38CA #8538CA
triadic
#3C38CA #CA3C38 #38CA3C
tetradic
#3C38CA #CA387D #C6CA38 #38CA85
square
#3C38CA #CA387D #C6CA38 #38CA85
split-complementary
#3C38CA #CA8538 #7DCA38
monochromatic
#1F1D6B #2D299B #3C38CA #6B68D7 #9B99E4

Accessibility & contrast

On white

8.04
#3C38CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3C38CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C38CA
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38CA#FFFFFF#000000##FFFFFF
##3C38CA1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#0049C7
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3c38ca;
/* rgb */ color: rgb(60, 56, 202);
/* oklch */ color: oklch(45.2% 0.216 274.6);
Tailwind
colors: {
  custom: {
    50: '#8670db',
    500: '#3c38ca',
    950: '#000000',
  },
}
SCSS
$custom: #3c38ca;
$custom-light: #8670db;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38ca",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 241.644,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45213,
    "c": 0.2162,
    "h": 274.6
  },
  "luminance": 0.08053
}

Semantic roles & 50–950 ramp

primary
#3C38CA
secondary
#CECF8E
accent
#E147DD
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3C38CA

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

Preview Lab → · Contrast checker → · Palette generator →

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