#4754C5#4754C5

#4754C5 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.175 H 273.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4754C5
RGBrgb(71, 84, 197)
HSLhsl(234, 52%, 53%)
HSVhsv(234, 64%, 77%)
CMYKcmyk(64%, 57.4%, 0%, 22.7%)
CIE-LABlab(40.75, 30.56, -60.69)
CIE-LCHlch(40.75, 67.95, 296.72°)
OKLaboklab(50.12% 0.0102 -0.1746)
OKLCHoklch(50.12% 0.175 273.4)
XYZxyz(15.8436, 11.7101, 54.2378)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754C5 #C5B847
analogous
#4793C5 #4754C5 #7947C5
triadic
#4754C5 #C54754 #54C547
tetradic
#4754C5 #C54793 #C5B847 #47C579
square
#4754C5 #C54793 #C5B847 #47C579
split-complementary
#4754C5 #C57947 #93C547
monochromatic
#232B6F #323D9D #4754C5 #767FD4 #A4AAE2

Accessibility & contrast

On white

6.28
#4754C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4754C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754C5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754C5#FFFFFF#000000##FFFFFF
##4754C51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4754c5;
/* rgb */ color: rgb(71, 84, 197);
/* oklch */ color: oklch(50.1% 0.175 273.4);
Tailwind
colors: {
  custom: {
    50: '#8884d7',
    500: '#4754c5',
    950: '#000000',
  },
}
SCSS
$custom: #4754c5;
$custom-light: #8884d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4754c5",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 197
  },
  "hsl": {
    "h": 233.81,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50123,
    "c": 0.17487,
    "h": 273.4
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#4754C5
secondary
#CFCA99
accent
#CD4CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4754C5

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

Preview Lab → · Contrast checker → · Palette generator →

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