#4C5FE2#4C5FE2

#4C5FE2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.7% C 0.199 H 271.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4C5FE2
RGBrgb(76, 95, 226)
HSLhsl(232, 72%, 59%)
HSVhsv(232, 66%, 89%)
CMYKcmyk(66.4%, 58%, 0%, 11.4%)
CIE-LABlab(45.92, 34.39, -68.90)
CIE-LCHlch(45.92, 77.01, 296.52°)
OKLaboklab(54.72% 0.0065 -0.1985)
OKLCHoklch(54.72% 0.199 271.9)
XYZxyz(20.7955, 15.2100, 73.7767)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FE2 #E2CF4C
analogous
#4CAAE2 #4C5FE2 #844CE2
triadic
#4C5FE2 #E24C5F #5FE24C
tetradic
#4C5FE2 #E24CAA #E2CF4C #4CE284
square
#4C5FE2 #E24CAA #E2CF4C #4CE284
split-complementary
#4C5FE2 #E2844C #AAE24C
monochromatic
#19299B #2238CF #4C5FE2 #818EEB #B5BDF3

Accessibility & contrast

On white

5.19
#4C5FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4C5FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FE2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FE2#FFFFFF#000000##FFFFFF
##4C5FE21.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4c5fe2;
/* rgb */ color: rgb(76, 95, 226);
/* oklch */ color: oklch(54.7% 0.199 271.9);
Tailwind
colors: {
  custom: {
    50: '#8f8cec',
    500: '#4c5fe2',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fe2;
$custom-light: #8f8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fe2",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 232.4,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54723,
    "c": 0.19857,
    "h": 271.9
  },
  "luminance": 0.15212
}

Semantic roles & 50–950 ramp

primary
#4C5FE2
secondary
#E2DBA8
accent
#D839EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4C5FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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