#4754C6#4754C6

#4754C6 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.176 H 273.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4754C6
RGBrgb(71, 84, 198)
HSLhsl(234, 53%, 53%)
HSVhsv(234, 64%, 78%)
CMYKcmyk(64.1%, 57.6%, 0%, 22.4%)
CIE-LABlab(40.83, 30.90, -61.15)
CIE-LCHlch(40.83, 68.52, 296.81°)
OKLaboklab(50.2% 0.0102 -0.1759)
OKLCHoklch(50.2% 0.176 273.3)
XYZxyz(15.9585, 11.7561, 54.8433)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754C6 #C6B947
analogous
#4794C6 #4754C6 #7947C6
triadic
#4754C6 #C64754 #54C647
tetradic
#4754C6 #C64794 #C6B947 #47C679
square
#4754C6 #C64794 #C6B947 #47C679
split-complementary
#4754C6 #C67947 #94C647
monochromatic
#232B70 #313C9F #4754C6 #767FD4 #A4ABE3

Accessibility & contrast

On white

6.27
#4754C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4754C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754C6
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754C6#FFFFFF#000000##FFFFFF
##4754C61.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CA
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4754c6;
/* rgb */ color: rgb(71, 84, 198);
/* oklch */ color: oklch(50.2% 0.176 273.3);
Tailwind
colors: {
  custom: {
    50: '#8884d8',
    500: '#4754c6',
    950: '#000000',
  },
}
SCSS
$custom: #4754c6;
$custom-light: #8884d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4754c6",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 198
  },
  "hsl": {
    "h": 233.858,
    "s": 52.697,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50201,
    "c": 0.17622,
    "h": 273.3
  },
  "luminance": 0.11757
}

Semantic roles & 50–950 ramp

primary
#4754C6
secondary
#D0CA99
accent
#CD4CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #4754C6

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

Preview Lab → · Contrast checker → · Palette generator →

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