#4754D2#4754D2

#4754D2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.192 H 273.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4754D2
RGBrgb(71, 84, 210)
HSLhsl(234, 61%, 55%)
HSVhsv(234, 66%, 82%)
CMYKcmyk(66.2%, 60%, 0%, 17.6%)
CIE-LABlab(41.74, 35.02, -66.60)
CIE-LCHlch(41.74, 75.24, 297.74°)
OKLaboklab(51.17% 0.0102 -0.1919)
OKLCHoklch(51.17% 0.192 273)
XYZxyz(17.3978, 12.3318, 62.4237)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754D2 #D2C547
analogous
#479AD2 #4754D2 #7F47D2
triadic
#4754D2 #D24754 #54D247
tetradic
#4754D2 #D2479A #D2C547 #47D27F
square
#4754D2 #D2479A #D2C547 #47D27F
split-complementary
#4754D2 #D27F47 #9AD247
monochromatic
#1F287F #2B38B1 #4754D2 #7882DE #A9AFEA

Accessibility & contrast

On white

6.06
#4754D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4754D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754D2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754D2#FFFFFF#000000##FFFFFF
##4754D21.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4754d2;
/* rgb */ color: rgb(71, 84, 210);
/* oklch */ color: oklch(51.2% 0.192 273.0);
Tailwind
colors: {
  custom: {
    50: '#8a84e1',
    500: '#4754d2',
    950: '#000000',
  },
}
SCSS
$custom: #4754d2;
$custom-light: #8a84e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4754d2",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 234.388,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.19219,
    "h": 273
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#4754D2
secondary
#D8D29D
accent
#D544E4
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4754D2

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

Preview Lab → · Contrast checker → · Palette generator →

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