#3C42DD#3C42DD

#3C42DD is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.5% C 0.229 H 272.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#3C42DD
RGBrgb(60, 66, 221)
HSLhsl(238, 70%, 55%)
HSVhsv(238, 73%, 87%)
CMYKcmyk(72.9%, 70.1%, 0%, 13.3%)
CIE-LABlab(37.98, 48.26, -79.09)
CIE-LCHlch(37.98, 92.66, 301.39°)
OKLaboklab(48.55% 0.0093 -0.2288)
OKLCHoklch(48.55% 0.229 272.3)
XYZxyz(16.8584, 10.0758, 69.4489)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C42DD #DDD73C
analogous
#3C92DD #3C42DD #863CDD
triadic
#3C42DD #DD3C42 #42DD3C
tetradic
#3C42DD #DD3C92 #DDD73C #3CDD86
square
#3C42DD #DD3C92 #DDD73C #3CDD86
split-complementary
#3C42DD #DD863C #92DD3C
monochromatic
#181C87 #2126BB #3C42DD #7075E6 #A4A7EF

Accessibility & contrast

On white

6.96
#3C42DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3C42DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C42DD
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C42DD#FFFFFF#000000##FFFFFF
##3C42DD1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E2
Deuteranopia (green-blind)
#0052DA
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3c42dd;
/* rgb */ color: rgb(60, 66, 221);
/* oklch */ color: oklch(48.5% 0.229 272.3);
Tailwind
colors: {
  custom: {
    50: '#8977e9',
    500: '#3c42dd',
    950: '#000000',
  },
}
SCSS
$custom: #3c42dd;
$custom-light: #8977e9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c42dd",
  "rgb": {
    "r": 60,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 237.764,
    "s": 70.306,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48545,
    "c": 0.22903,
    "h": 272.3
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#3C42DD
secondary
#DCDA99
accent
#E63BED
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #3C42DD

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

Preview Lab → · Contrast checker → · Palette generator →

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