#3C42BB#3C42BB

#3C42BB is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.4% C 0.186 H 274.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#3C42BB
RGBrgb(60, 66, 187)
HSLhsl(237, 51%, 48%)
HSVhsv(237, 68%, 73%)
CMYKcmyk(67.9%, 64.7%, 0%, 26.7%)
CIE-LABlab(34.89, 36.79, -64.43)
CIE-LCHlch(34.89, 74.19, 299.72°)
OKLaboklab(45.37% 0.013 -0.186)
OKLCHoklch(45.37% 0.186 274)
XYZxyz(12.7784, 8.4438, 47.9605)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C42BB #BBB53C
analogous
#3C81BB #3C42BB #753CBB
triadic
#3C42BB #BB3C42 #42BB3C
tetradic
#3C42BB #BB3C81 #BBB53C #3CBB75
square
#3C42BB #BB3C81 #BBB53C #3CBB75
split-complementary
#3C42BB #BB753C #81BB3C
monochromatic
#1E215E #2D328D #3C42BB #666BCE #9598DD

Accessibility & contrast

On white

7.81
#3C42BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3C42BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C42BB
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C42BB#FFFFFF#000000##FFFFFF
##3C42BB1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3c42bb;
/* rgb */ color: rgb(60, 66, 187);
/* oklch */ color: oklch(45.4% 0.186 274.0);
Tailwind
colors: {
  custom: {
    50: '#8276d0',
    500: '#3c42bb',
    950: '#000000',
  },
}
SCSS
$custom: #3c42bb;
$custom-light: #8276d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c42bb",
  "rgb": {
    "r": 60,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 237.165,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4537,
    "c": 0.18642,
    "h": 274
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#3C42BB
secondary
#C8C58B
accent
#D44DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3C42BB

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

Preview Lab → · Contrast checker → · Palette generator →

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