#4C4BEC#4C4BEC

#4C4BEC is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.2% C 0.234 H 274.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4C4BEC
RGBrgb(76, 75, 236)
HSLhsl(240, 81%, 61%)
HSVhsv(240, 68%, 93%)
CMYKcmyk(67.8%, 68.2%, 0%, 7.5%)
CIE-LABlab(42.19, 49.68, -80.66)
CIE-LCHlch(42.19, 94.73, 301.63°)
OKLaboklab(52.24% 0.0202 -0.233)
OKLCHoklch(52.24% 0.234 274.9)
XYZxyz(20.6319, 12.6229, 80.6898)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4BEC #EBEC4B
analogous
#4B9AEC #4C4BEC #9C4BEC
triadic
#4C4BEC #EC4C4B #4BEC4C
tetradic
#4C4BEC #EC4B9A #EBEC4B #4BEC9C
square
#4C4BEC #EC4B9A #EBEC4B #4BEC9C
split-complementary
#4C4BEC #EC9C4B #9AEC4B
monochromatic
#1312AB #1918E2 #4C4BEC #8382F2 #BABAF8

Accessibility & contrast

On white

5.96
#4C4BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4C4BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4BEC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4BEC#FFFFFF#000000##FFFFFF
##4C4BEC1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF1
Deuteranopia (green-blind)
#005CE9
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c4bec;
/* rgb */ color: rgb(76, 75, 236);
/* oklch */ color: oklch(52.2% 0.234 274.9);
Tailwind
colors: {
  custom: {
    50: '#927ef3',
    500: '#4c4bec',
    950: '#000000',
  },
}
SCSS
$custom: #4c4bec;
$custom-light: #927ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4bec",
  "rgb": {
    "r": 76,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 240.373,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52244,
    "c": 0.23392,
    "h": 274.9
  },
  "luminance": 0.12625
}

Semantic roles & 50–950 ramp

primary
#4C4BEC
secondary
#E7E8AB
accent
#DD08DC
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4C4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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