#4C4EDB#4C4EDB

#4C4EDB is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.2% C 0.210 H 275.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4C4EDB
RGBrgb(76, 78, 219)
HSLhsl(239, 67%, 58%)
HSVhsv(239, 65%, 86%)
CMYKcmyk(65.3%, 64.4%, 0%, 14.1%)
CIE-LABlab(41.37, 42.41, -72.34)
CIE-LCHlch(41.37, 83.86, 300.38°)
OKLaboklab(51.2% 0.02 -0.2087)
OKLCHoklch(51.2% 0.21 275.5)
XYZxyz(18.4869, 12.0981, 68.3650)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EDB #DBD94C
analogous
#4C95DB #4C4EDB #924CDB
triadic
#4C4EDB #DB4C4E #4EDB4C
tetradic
#4C4EDB #DB4C95 #DBD94C #4CDB92
square
#4C4EDB #DB4C95 #DBD94C #4CDB92
split-complementary
#4C4EDB #DB924C #95DB4C
monochromatic
#1D1F90 #2729C3 #4C4EDB #7F80E5 #B2B3EF

Accessibility & contrast

On white

6.14
#4C4EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4C4EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EDB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EDB#FFFFFF#000000##FFFFFF
##4C4EDB1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c4edb;
/* rgb */ color: rgb(76, 78, 219);
/* oklch */ color: oklch(51.2% 0.210 275.5);
Tailwind
colors: {
  custom: {
    50: '#8e80e7',
    500: '#4c4edb',
    950: '#000000',
  },
}
SCSS
$custom: #4c4edb;
$custom-light: #8e80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4edb",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 239.161,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51202,
    "c": 0.20964,
    "h": 275.5
  },
  "luminance": 0.121
}

Semantic roles & 50–950 ramp

primary
#4C4EDB
secondary
#DEDDA5
accent
#E73EE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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