#4754C2#4754C2

#4754C2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.9% C 0.171 H 273.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4754C2
RGBrgb(71, 84, 194)
HSLhsl(234, 50%, 52%)
HSVhsv(234, 63%, 76%)
CMYKcmyk(63.4%, 56.7%, 0%, 23.9%)
CIE-LABlab(40.53, 29.52, -59.31)
CIE-LCHlch(40.53, 66.25, 296.46°)
OKLaboklab(49.89% 0.0102 -0.1705)
OKLCHoklch(49.89% 0.171 273.4)
XYZxyz(15.5032, 11.5740, 52.4455)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754C2 #C2B547
analogous
#4791C2 #4754C2 #7847C2
triadic
#4754C2 #C24754 #54C247
tetradic
#4754C2 #C24791 #C2B547 #47C278
square
#4754C2 #C24791 #C2B547 #47C278
split-complementary
#4754C2 #C27847 #91C247
monochromatic
#242B6B #333E99 #4754C2 #757FD1 #A3A9E0

Accessibility & contrast

On white

6.33
#4754C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4754C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754C2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754C2#FFFFFF#000000##FFFFFF
##4754C21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4754c2;
/* rgb */ color: rgb(71, 84, 194);
/* oklch */ color: oklch(49.9% 0.171 273.4);
Tailwind
colors: {
  custom: {
    50: '#8784d5',
    500: '#4754c2',
    950: '#000000',
  },
}
SCSS
$custom: #4754c2;
$custom-light: #8784d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4754c2",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 233.659,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49889,
    "c": 0.17079,
    "h": 273.4
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#4754C2
secondary
#CDC897
accent
#CB4EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4754C2

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

Preview Lab → · Contrast checker → · Palette generator →

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