#4C5EE1#4C5EE1

#4C5EE1 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.5% C 0.198 H 272.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4C5EE1
RGBrgb(76, 94, 225)
HSLhsl(233, 71%, 59%)
HSVhsv(233, 66%, 88%)
CMYKcmyk(66.2%, 58.2%, 0%, 11.8%)
CIE-LABlab(45.60, 34.67, -68.86)
CIE-LCHlch(45.60, 77.09, 296.72°)
OKLaboklab(54.46% 0.0073 -0.1983)
OKLCHoklch(54.46% 0.198 272.1)
XYZxyz(20.5692, 14.9763, 73.0263)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5EE1 #E1CF4C
analogous
#4CA9E1 #4C5EE1 #854CE1
triadic
#4C5EE1 #E14C5E #5EE14C
tetradic
#4C5EE1 #E14CA9 #E1CF4C #4CE185
square
#4C5EE1 #E14CA9 #E1CF4C #4CE185
split-complementary
#4C5EE1 #E1854C #A9E14C
monochromatic
#1A2999 #2237CD #4C5EE1 #808DEA #B5BCF3

Accessibility & contrast

On white

5.26
#4C5EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4C5EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5EE1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5EE1#FFFFFF#000000##FFFFFF
##4C5EE11.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4c5ee1;
/* rgb */ color: rgb(76, 94, 225);
/* oklch */ color: oklch(54.5% 0.198 272.1);
Tailwind
colors: {
  custom: {
    50: '#8e8beb',
    500: '#4c5ee1',
    950: '#000000',
  },
}
SCSS
$custom: #4c5ee1;
$custom-light: #8e8beb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5ee1",
  "rgb": {
    "r": 76,
    "g": 94,
    "b": 225
  },
  "hsl": {
    "h": 232.752,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54463,
    "c": 0.19847,
    "h": 272.1
  },
  "luminance": 0.14978
}

Semantic roles & 50–950 ramp

primary
#4C5EE1
secondary
#E2DBA7
accent
#D83AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4C5EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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