#4754C7#4754C7

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

Color values

HEX#4754C7
RGBrgb(71, 84, 199)
HSLhsl(234, 53%, 53%)
HSVhsv(234, 64%, 78%)
CMYKcmyk(64.3%, 57.8%, 0%, 22%)
CIE-LABlab(40.90, 31.24, -61.61)
CIE-LCHlch(40.90, 69.08, 296.89°)
OKLaboklab(50.28% 0.0103 -0.1773)
OKLCHoklch(50.28% 0.178 273.3)
XYZxyz(16.0742, 11.8024, 55.4528)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754C7 #C7BA47
analogous
#4794C7 #4754C7 #7A47C7
triadic
#4754C7 #C74754 #54C747
tetradic
#4754C7 #C74794 #C7BA47 #47C77A
square
#4754C7 #C74794 #C7BA47 #47C77A
split-complementary
#4754C7 #C77A47 #94C747
monochromatic
#222A71 #313CA0 #4754C7 #7680D5 #A5ABE4

Accessibility & contrast

On white

6.25
#4754C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4754C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754C7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754C7#FFFFFF#000000##FFFFFF
##4754C71.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4754c7;
/* rgb */ color: rgb(71, 84, 199);
/* oklch */ color: oklch(50.3% 0.178 273.3);
Tailwind
colors: {
  custom: {
    50: '#8884d9',
    500: '#4754c7',
    950: '#000000',
  },
}
SCSS
$custom: #4754c7;
$custom-light: #8884d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4754c7",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 199
  },
  "hsl": {
    "h": 233.906,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.17757,
    "h": 273.3
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#4754C7
secondary
#D1CB99
accent
#CE4BDD
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #4754C7

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

Preview Lab → · Contrast checker → · Palette generator →

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