#4754E2#4754E2

#4754E2 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.5% C 0.213 H 272.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4754E2
RGBrgb(71, 84, 226)
HSLhsl(235, 73%, 58%)
HSVhsv(235, 69%, 89%)
CMYKcmyk(68.6%, 62.8%, 0%, 11.4%)
CIE-LABlab(43.02, 40.47, -73.65)
CIE-LCHlch(43.02, 84.04, 298.79°)
OKLaboklab(52.5% 0.0096 -0.2126)
OKLCHoklch(52.5% 0.213 272.6)
XYZxyz(19.4917, 13.1694, 73.4515)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754E2 #E2D547
analogous
#47A1E2 #4754E2 #8747E2
triadic
#4754E2 #E24754 #54E247
tetradic
#4754E2 #E247A1 #E2D547 #47E287
square
#4754E2 #E247A1 #E2D547 #47E287
split-complementary
#4754E2 #E28747 #A1E247
monochromatic
#182297 #202ECC #4754E2 #7C85EA #B1B6F3

Accessibility & contrast

On white

5.78
#4754E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4754E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754E2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754E2#FFFFFF#000000##FFFFFF
##4754E21.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#005FDF
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4754e2;
/* rgb */ color: rgb(71, 84, 226);
/* oklch */ color: oklch(52.5% 0.213 272.6);
Tailwind
colors: {
  custom: {
    50: '#8d84ec',
    500: '#4754e2',
    950: '#000000',
  },
}
SCSS
$custom: #4754e2;
$custom-light: #8d84ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4754e2",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 234.968,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52504,
    "c": 0.21284,
    "h": 272.6
  },
  "luminance": 0.13171
}

Semantic roles & 50–950 ramp

primary
#4754E2
secondary
#E1DCA4
accent
#E038EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4754E2

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

Preview Lab → · Contrast checker → · Palette generator →

#4754E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva