#4C5FE1#4C5FE1

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

Color values

HEX#4C5FE1
RGBrgb(76, 95, 225)
HSLhsl(232, 71%, 59%)
HSVhsv(232, 66%, 88%)
CMYKcmyk(66.2%, 57.8%, 0%, 11.8%)
CIE-LABlab(45.85, 34.05, -68.46)
CIE-LCHlch(45.85, 76.46, 296.44°)
OKLaboklab(54.65% 0.0064 -0.1972)
OKLCHoklch(54.65% 0.197 271.9)
XYZxyz(20.6587, 15.1553, 73.0561)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5FE1 #E1CE4C
analogous
#4CAAE1 #4C5FE1 #844CE1
triadic
#4C5FE1 #E14C5F #5FE14C
tetradic
#4C5FE1 #E14CAA #E1CE4C #4CE184
square
#4C5FE1 #E14CAA #E1CE4C #4CE184
split-complementary
#4C5FE1 #E1844C #AAE14C
monochromatic
#1A2A99 #2238CD #4C5FE1 #808EEA #B5BDF3

Accessibility & contrast

On white

5.21
#4C5FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4C5FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C5FE1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5FE1#FFFFFF#000000##FFFFFF
##4C5FE11.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4c5fe1;
/* rgb */ color: rgb(76, 95, 225);
/* oklch */ color: oklch(54.6% 0.197 271.9);
Tailwind
colors: {
  custom: {
    50: '#8e8ceb',
    500: '#4c5fe1',
    950: '#000000',
  },
}
SCSS
$custom: #4c5fe1;
$custom-light: #8e8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5fe1",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 232.349,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54645,
    "c": 0.19727,
    "h": 271.9
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

primary
#4C5FE1
secondary
#E2DAA7
accent
#D73AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4C5FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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