#4C4CE2#4C4CE2

#4C4CE2 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.5% C 0.221 H 275.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4C4CE2
RGBrgb(76, 76, 226)
HSLhsl(240, 72%, 59%)
HSVhsv(240, 66%, 89%)
CMYKcmyk(66.4%, 66.4%, 0%, 11.4%)
CIE-LABlab(41.52, 45.88, -76.09)
CIE-LCHlch(41.52, 88.85, 301.09°)
OKLaboklab(51.5% 0.0207 -0.2197)
OKLCHoklch(51.5% 0.221 275.4)
XYZxyz(19.2879, 12.1946, 73.2741)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CE2 #E2E24C
analogous
#4C97E2 #4C4CE2 #974CE2
triadic
#4C4CE2 #E24C4C #4CE24C
tetradic
#4C4CE2 #E24C97 #E2E24C #4CE297
square
#4C4CE2 #E24C97 #E2E24C #4CE297
split-complementary
#4C4CE2 #E2974C #97E24C
monochromatic
#19199B #2222CF #4C4CE2 #8181EB #B5B5F3

Accessibility & contrast

On white

6.11
#4C4CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4C4CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CE2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CE2#FFFFFF#000000##FFFFFF
##4C4CE21.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#005BDF
Tritanopia (blue-blind)
#007491
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c4ce2;
/* rgb */ color: rgb(76, 76, 226);
/* oklch */ color: oklch(51.5% 0.221 275.4);
Tailwind
colors: {
  custom: {
    50: '#907fec',
    500: '#4c4ce2',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ce2;
$custom-light: #907fec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ce2",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.22063,
    "h": 275.4
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#4C4CE2
secondary
#E2E2A8
accent
#EF39EF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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