#3C42CD#3C42CD

#3C42CD is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.0% C 0.209 H 273.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3C42CD
RGBrgb(60, 66, 205)
HSLhsl(238, 59%, 52%)
HSVhsv(238, 71%, 80%)
CMYKcmyk(70.7%, 67.8%, 0%, 19.6%)
CIE-LABlab(36.49, 42.93, -72.33)
CIE-LCHlch(36.49, 84.11, 300.69°)
OKLaboklab(47.02% 0.0113 -0.2091)
OKLCHoklch(47.02% 0.209 273.1)
XYZxyz(14.8274, 9.2634, 58.7524)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C42CD #CDC73C
analogous
#3C8BCD #3C42CD #7E3CCD
triadic
#3C42CD #CD3C42 #42CD3C
tetradic
#3C42CD #CD3C8B #CDC73C #3CCD7E
square
#3C42CD #CD3C8B #CDC73C #3CCD7E
split-complementary
#3C42CD #CD7E3C #8BCD3C
monochromatic
#1D2171 #2A2FA2 #3C42CD #6D71D9 #9DA0E6

Accessibility & contrast

On white

7.36
#3C42CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3C42CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C42CD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C42CD#FFFFFF#000000##FFFFFF
##3C42CD1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#004FCA
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3c42cd;
/* rgb */ color: rgb(60, 66, 205);
/* oklch */ color: oklch(47.0% 0.209 273.1);
Tailwind
colors: {
  custom: {
    50: '#8677dd',
    500: '#3c42cd',
    950: '#000000',
  },
}
SCSS
$custom: #3c42cd;
$custom-light: #8677dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c42cd",
  "rgb": {
    "r": 60,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 237.517,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47019,
    "c": 0.20939,
    "h": 273.1
  },
  "luminance": 0.09265
}

Semantic roles & 50–950 ramp

primary
#3C42CD
secondary
#D2D093
accent
#DC45E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3C42CD

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

Preview Lab → · Contrast checker → · Palette generator →

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