#3C42C8#3C42C8

#3C42C8 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 46.6% C 0.203 H 273.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#3C42C8
RGBrgb(60, 66, 200)
HSLhsl(237, 56%, 51%)
HSVhsv(237, 70%, 78%)
CMYKcmyk(70%, 67%, 0%, 21.6%)
CIE-LABlab(36.03, 41.23, -70.17)
CIE-LCHlch(36.03, 81.39, 300.44°)
OKLaboklab(46.55% 0.0118 -0.2028)
OKLCHoklch(46.55% 0.203 273.3)
XYZxyz(14.2335, 9.0258, 55.6244)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C42C8 #C8C23C
analogous
#3C88C8 #3C42C8 #7C3CC8
triadic
#3C42C8 #C83C42 #42C83C
tetradic
#3C42C8 #C83C88 #C8C23C #3CC87C
square
#3C42C8 #C83C88 #C8C23C #3CC87C
split-complementary
#3C42C8 #C87C3C #88C83C
monochromatic
#1E226B #2C319B #3C42C8 #6C70D5 #9B9FE3

Accessibility & contrast

On white

7.49
#3C42C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3C42C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C42C8
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C42C8#FFFFFF#000000##FFFFFF
##3C42C81.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#004EC5
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3c42c8;
/* rgb */ color: rgb(60, 66, 200);
/* oklch */ color: oklch(46.6% 0.203 273.3);
Tailwind
colors: {
  custom: {
    50: '#8577da',
    500: '#3c42c8',
    950: '#000000',
  },
}
SCSS
$custom: #3c42c8;
$custom-light: #8577da;
$custom-dark: #000000;
JSON
{
  "hex": "#3c42c8",
  "rgb": {
    "r": 60,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 237.429,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46553,
    "c": 0.20311,
    "h": 273.3
  },
  "luminance": 0.09027
}

Semantic roles & 50–950 ramp

primary
#3C42C8
secondary
#CFCC91
accent
#D949DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3C42C8

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

Preview Lab → · Contrast checker → · Palette generator →

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