#4754CC#4754CC

#4754CC is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.184 H 273.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4754CC
RGBrgb(71, 84, 204)
HSLhsl(234, 57%, 54%)
HSVhsv(234, 65%, 80%)
CMYKcmyk(65.2%, 58.8%, 0%, 20%)
CIE-LABlab(41.28, 32.96, -63.89)
CIE-LCHlch(41.28, 71.89, 297.29°)
OKLaboklab(50.68% 0.0103 -0.184)
OKLCHoklch(50.68% 0.184 273.2)
XYZxyz(16.6643, 12.0384, 58.5605)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754CC #CCBF47
analogous
#4797CC #4754CC #7D47CC
triadic
#4754CC #CC4754 #54CC47
tetradic
#4754CC #CC4797 #CCBF47 #47CC7D
square
#4754CC #CC4797 #CCBF47 #47CC7D
split-complementary
#4754CC #CC7D47 #97CC47
monochromatic
#212A77 #2E3AA7 #4754CC #7781D9 #A7ADE7

Accessibility & contrast

On white

6.16
#4754CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4754CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754CC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754CC#FFFFFF#000000##FFFFFF
##4754CC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4754cc;
/* rgb */ color: rgb(71, 84, 204);
/* oklch */ color: oklch(50.7% 0.184 273.2);
Tailwind
colors: {
  custom: {
    50: '#8984dc',
    500: '#4754cc',
    950: '#000000',
  },
}
SCSS
$custom: #4754cc;
$custom-light: #8984dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4754cc",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 234.135,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50679,
    "c": 0.18426,
    "h": 273.2
  },
  "luminance": 0.1204
}

Semantic roles & 50–950 ramp

primary
#4754CC
secondary
#D4CE9B
accent
#D148E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4754CC

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

Preview Lab → · Contrast checker → · Palette generator →

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