#4C4CDB#4C4CDB

#4C4CDB is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.9% C 0.212 H 275.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4C4CDB
RGBrgb(76, 76, 219)
HSLhsl(240, 67%, 58%)
HSVhsv(240, 65%, 86%)
CMYKcmyk(65.3%, 65.3%, 0%, 14.1%)
CIE-LABlab(40.93, 43.59, -73.07)
CIE-LCHlch(40.93, 85.09, 300.82°)
OKLaboklab(50.88% 0.0214 -0.2108)
OKLCHoklch(50.88% 0.212 275.8)
XYZxyz(18.3469, 11.8183, 68.3184)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CDB #DBDB4C
analogous
#4C93DB #4C4CDB #934CDB
triadic
#4C4CDB #DB4C4C #4CDB4C
tetradic
#4C4CDB #DB4C93 #DBDB4C #4CDB93
square
#4C4CDB #DB4C93 #DBDB4C #4CDB93
split-complementary
#4C4CDB #DB934C #93DB4C
monochromatic
#1D1D90 #2727C3 #4C4CDB #7F7FE5 #B2B2EF

Accessibility & contrast

On white

6.24
#4C4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4C4CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CDB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CDB#FFFFFF#000000##FFFFFF
##4C4CDB1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005AD8
Tritanopia (blue-blind)
#00718D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c4cdb;
/* rgb */ color: rgb(76, 76, 219);
/* oklch */ color: oklch(50.9% 0.212 275.8);
Tailwind
colors: {
  custom: {
    50: '#8f7fe7',
    500: '#4c4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #4c4cdb;
$custom-light: #8f7fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4cdb",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 240,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.50877,
    "c": 0.21193,
    "h": 275.8
  },
  "luminance": 0.1182
}

Semantic roles & 50–950 ramp

primary
#4C4CDB
secondary
#DEDEA5
accent
#E93EE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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