#4C42BE#4C42BE

#4C42BE is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.7% C 0.187 H 280.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#4C42BE
RGBrgb(76, 66, 190)
HSLhsl(245, 49%, 50%)
HSVhsv(245, 65%, 75%)
CMYKcmyk(60%, 65.3%, 0%, 25.5%)
CIE-LABlab(36.27, 40.13, -63.89)
CIE-LCHlch(36.27, 75.45, 302.13°)
OKLaboklab(46.74% 0.0323 -0.1839)
OKLCHoklch(46.74% 0.187 280)
XYZxyz(14.2200, 9.1496, 49.7219)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C42BE #B4BE42
analogous
#4276BE #4C42BE #8A42BE
triadic
#4C42BE #BE4C42 #42BE4C
tetradic
#4C42BE #BE4276 #B4BE42 #42BE8A
square
#4C42BE #BE4276 #B4BE42 #42BE8A
split-complementary
#4C42BE #BE8A42 #76BE42
monochromatic
#272263 #3A3291 #4C42BE #7770CE #A29DDD

Accessibility & contrast

On white

7.42
#4C42BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4C42BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C42BE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C42BE#FFFFFF#000000##FFFFFF
##4C42BE1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#0051BC
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4c42be;
/* rgb */ color: rgb(76, 66, 190);
/* oklch */ color: oklch(46.7% 0.187 280.0);
Tailwind
colors: {
  custom: {
    50: '#8a77d3',
    500: '#4c42be',
    950: '#000000',
  },
}
SCSS
$custom: #4c42be;
$custom-light: #8a77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c42be",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 244.839,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46744,
    "c": 0.18675,
    "h": 280
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#4C42BE
secondary
#C5CA92
accent
#D84FCD
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4C42BE

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

Preview Lab → · Contrast checker → · Palette generator →

#4C42BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva