#3C42D3#3C42D3

#3C42D3 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.6% C 0.217 H 272.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3C42D3
RGBrgb(60, 66, 211)
HSLhsl(238, 63%, 53%)
HSVhsv(238, 72%, 83%)
CMYKcmyk(71.6%, 68.7%, 0%, 17.3%)
CIE-LABlab(37.04, 44.94, -74.89)
CIE-LCHlch(37.04, 87.34, 300.97°)
OKLaboklab(47.59% 0.0106 -0.2166)
OKLCHoklch(47.59% 0.217 272.8)
XYZxyz(15.5656, 9.5587, 62.6401)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C42D3 #D3CD3C
analogous
#3C8DD3 #3C42D3 #813CD3
triadic
#3C42D3 #D33C42 #42D33C
tetradic
#3C42D3 #D33C8D #D3CD3C #3CD381
square
#3C42D3 #D33C8D #D3CD3C #3CD381
split-complementary
#3C42D3 #D3813C #8DD33C
monochromatic
#1B1F79 #272CAB #3C42D3 #6E72DE #A0A3EA

Accessibility & contrast

On white

7.21
#3C42D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3C42D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C42D3
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C42D3#FFFFFF#000000##FFFFFF
##3C42D31.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED7
Deuteranopia (green-blind)
#0050D0
Tritanopia (blue-blind)
#006A85
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3c42d3;
/* rgb */ color: rgb(60, 66, 211);
/* oklch */ color: oklch(47.6% 0.217 272.8);
Tailwind
colors: {
  custom: {
    50: '#8777e2',
    500: '#3c42d3',
    950: '#000000',
  },
}
SCSS
$custom: #3c42d3;
$custom-light: #8777e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c42d3",
  "rgb": {
    "r": 60,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 237.616,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47585,
    "c": 0.21684,
    "h": 272.8
  },
  "luminance": 0.0956
}

Semantic roles & 50–950 ramp

primary
#3C42D3
secondary
#D6D395
accent
#E042E6
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0915
muted
#7E7B84

Preview Lab

Preview with #3C42D3

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

Preview Lab → · Contrast checker → · Palette generator →

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