#4C42DB#4C42DB

#4C42DB is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.3% C 0.223 H 277.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#4C42DB
RGBrgb(76, 66, 219)
HSLhsl(244, 68%, 56%)
HSVhsv(244, 70%, 86%)
CMYKcmyk(65.3%, 69.9%, 0%, 14.1%)
CIE-LABlab(38.80, 49.36, -76.55)
CIE-LCHlch(38.80, 91.08, 302.81°)
OKLaboklab(49.35% 0.0284 -0.221)
OKLCHoklch(49.35% 0.223 277.3)
XYZxyz(17.7107, 10.5459, 68.1063)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C42DB #D1DB42
analogous
#4284DB #4C42DB #9942DB
triadic
#4C42DB #DB4C42 #42DB4C
tetradic
#4C42DB #DB4284 #D1DB42 #42DB99
square
#4C42DB #DB4284 #D1DB42 #42DB99
split-complementary
#4C42DB #DB9942 #84DB42
monochromatic
#211A89 #2E24BC #4C42DB #7D75E5 #ADA9EF

Accessibility & contrast

On white

6.75
#4C42DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4C42DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C42DB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C42DB#FFFFFF#000000##FFFFFF
##4C42DB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E0
Deuteranopia (green-blind)
#0055D8
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c42db;
/* rgb */ color: rgb(76, 66, 219);
/* oklch */ color: oklch(49.3% 0.223 277.3);
Tailwind
colors: {
  custom: {
    50: '#8f78e7',
    500: '#4c42db',
    950: '#000000',
  },
}
SCSS
$custom: #4c42db;
$custom-light: #8f78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c42db",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 219
  },
  "hsl": {
    "h": 243.922,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.49347,
    "c": 0.22284,
    "h": 277.3
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

primary
#4C42DB
secondary
#D8DC9D
accent
#EB3DDF
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4C42DB

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

Preview Lab → · Contrast checker → · Palette generator →

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