#4754D8#4754D8

#4754D8 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.7% C 0.200 H 272.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4754D8
RGBrgb(71, 84, 216)
HSLhsl(235, 65%, 56%)
HSVhsv(235, 67%, 85%)
CMYKcmyk(67.1%, 61.1%, 0%, 15.3%)
CIE-LABlab(42.21, 37.07, -69.27)
CIE-LCHlch(42.21, 78.57, 298.15°)
OKLaboklab(51.66% 0.01 -0.1998)
OKLCHoklch(51.66% 0.2 272.9)
XYZxyz(18.1594, 12.6364, 66.4345)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754D8 #D8CB47
analogous
#479DD8 #4754D8 #8347D8
triadic
#4754D8 #D84754 #54D847
tetradic
#4754D8 #D8479D #D8CB47 #47D883
square
#4754D8 #D8479D #D8CB47 #47D883
split-complementary
#4754D8 #D88347 #9DD847
monochromatic
#1D2688 #2735BA #4754D8 #7983E3 #ACB2ED

Accessibility & contrast

On white

5.95
#4754D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4754D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754D8
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754D8#FFFFFF#000000##FFFFFF
##4754D81.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4754d8;
/* rgb */ color: rgb(71, 84, 216);
/* oklch */ color: oklch(51.7% 0.200 272.9);
Tailwind
colors: {
  custom: {
    50: '#8b84e5',
    500: '#4754d8',
    950: '#000000',
  },
}
SCSS
$custom: #4754d8;
$custom-light: #8b84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4754d8",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 234.621,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5166,
    "c": 0.20001,
    "h": 272.9
  },
  "luminance": 0.12638
}

Semantic roles & 50–950 ramp

primary
#4754D8
secondary
#DBD6A0
accent
#D940E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4754D8

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

Preview Lab → · Contrast checker → · Palette generator →

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