#4754E1#4754E1

#4754E1 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.4% C 0.212 H 272.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4754E1
RGBrgb(71, 84, 225)
HSLhsl(235, 72%, 58%)
HSVhsv(235, 68%, 88%)
CMYKcmyk(68.4%, 62.7%, 0%, 11.8%)
CIE-LABlab(42.94, 40.13, -73.22)
CIE-LCHlch(42.94, 83.49, 298.73°)
OKLaboklab(52.42% 0.0096 -0.2113)
OKLCHoklch(52.42% 0.212 272.6)
XYZxyz(19.3549, 13.1146, 72.7309)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754E1 #E1D447
analogous
#47A1E1 #4754E1 #8747E1
triadic
#4754E1 #E14754 #54E147
tetradic
#4754E1 #E147A1 #E1D447 #47E187
square
#4754E1 #E147A1 #E1D447 #47E187
split-complementary
#4754E1 #E18747 #A1E147
monochromatic
#182395 #212FCA #4754E1 #7C85EA #B0B6F2

Accessibility & contrast

On white

5.80
#4754E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4754E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754E1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754E1#FFFFFF#000000##FFFFFF
##4754E11.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4754e1;
/* rgb */ color: rgb(71, 84, 225);
/* oklch */ color: oklch(52.4% 0.212 272.6);
Tailwind
colors: {
  custom: {
    50: '#8d84eb',
    500: '#4754e1',
    950: '#000000',
  },
}
SCSS
$custom: #4754e1;
$custom-light: #8d84eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4754e1",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 234.935,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52419,
    "c": 0.21157,
    "h": 272.6
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#4754E1
secondary
#E1DBA3
accent
#DF39EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4754E1

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

Preview Lab → · Contrast checker → · Palette generator →

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