#4754CE#4754CE

#4754CE is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.187 H 273.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4754CE
RGBrgb(71, 84, 206)
HSLhsl(234, 58%, 54%)
HSVhsv(234, 66%, 81%)
CMYKcmyk(65.5%, 59.2%, 0%, 19.2%)
CIE-LABlab(41.43, 33.65, -64.80)
CIE-LCHlch(41.43, 73.01, 297.44°)
OKLaboklab(50.84% 0.0103 -0.1866)
OKLCHoklch(50.84% 0.187 273.1)
XYZxyz(16.9057, 12.1350, 59.8319)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754CE #CEC147
analogous
#4798CE #4754CE #7E47CE
triadic
#4754CE #CE4754 #54CE47
tetradic
#4754CE #CE4798 #CEC147 #47CE7E
square
#4754CE #CE4798 #CEC147 #47CE7E
split-complementary
#4754CE #CE7E47 #98CE47
monochromatic
#21297A #2D39AA #4754CE #7781DB #A8AEE8

Accessibility & contrast

On white

6.13
#4754CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4754CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754CE
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754CE#FFFFFF#000000##FFFFFF
##4754CE1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4754ce;
/* rgb */ color: rgb(71, 84, 206);
/* oklch */ color: oklch(50.8% 0.187 273.1);
Tailwind
colors: {
  custom: {
    50: '#8984de',
    500: '#4754ce',
    950: '#000000',
  },
}
SCSS
$custom: #4754ce;
$custom-light: #8984de;
$custom-dark: #000000;
JSON
{
  "hex": "#4754ce",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 234.222,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.18691,
    "h": 273.1
  },
  "luminance": 0.12136
}

Semantic roles & 50–950 ramp

primary
#4754CE
secondary
#D5D09C
accent
#D247E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4754CE

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

Preview Lab → · Contrast checker → · Palette generator →

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