#3C42D5#3C42D5

#3C42D5 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.8% C 0.219 H 272.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#3C42D5
RGBrgb(60, 66, 213)
HSLhsl(238, 65%, 54%)
HSVhsv(238, 72%, 84%)
CMYKcmyk(71.8%, 69%, 0%, 16.5%)
CIE-LABlab(37.22, 45.61, -75.74)
CIE-LCHlch(37.22, 88.41, 301.06°)
OKLaboklab(47.78% 0.0103 -0.219)
OKLCHoklch(47.78% 0.219 272.7)
XYZxyz(15.8179, 9.6596, 63.9688)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C42D5 #D5CF3C
analogous
#3C8ED5 #3C42D5 #823CD5
triadic
#3C42D5 #D53C42 #42D53C
tetradic
#3C42D5 #D53C8E #D5CF3C #3CD582
square
#3C42D5 #D53C8E #D5CF3C #3CD582
split-complementary
#3C42D5 #D5823C #8ED53C
monochromatic
#1B1F7C #262BAE #3C42D5 #6E73E0 #A1A4EB

Accessibility & contrast

On white

7.16
#3C42D5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3C42D5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C42D5
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C42D5#FFFFFF#000000##FFFFFF
##3C42D51.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD9
Deuteranopia (green-blind)
#0050D2
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3c42d5;
/* rgb */ color: rgb(60, 66, 213);
/* oklch */ color: oklch(47.8% 0.219 272.7);
Tailwind
colors: {
  custom: {
    50: '#8777e3',
    500: '#3c42d5',
    950: '#000000',
  },
}
SCSS
$custom: #3c42d5;
$custom-light: #8777e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c42d5",
  "rgb": {
    "r": 60,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 237.647,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47776,
    "c": 0.21929,
    "h": 272.7
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#3C42D5
secondary
#D7D596
accent
#E140E8
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3C42D5

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

Preview Lab → · Contrast checker → · Palette generator →

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