#4754D1#4754D1

#4754D1 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.191 H 273.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4754D1
RGBrgb(71, 84, 209)
HSLhsl(234, 60%, 55%)
HSVhsv(234, 66%, 82%)
CMYKcmyk(66%, 59.8%, 0%, 18%)
CIE-LABlab(41.66, 34.68, -66.15)
CIE-LCHlch(41.66, 74.69, 297.66°)
OKLaboklab(51.08% 0.0102 -0.1906)
OKLCHoklch(51.08% 0.191 273.1)
XYZxyz(17.2736, 12.2821, 61.7696)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754D1 #D1C447
analogous
#4799D1 #4754D1 #7F47D1
triadic
#4754D1 #D14754 #54D147
tetradic
#4754D1 #D14799 #D1C447 #47D17F
square
#4754D1 #D14799 #D1C447 #47D17F
split-complementary
#4754D1 #D17F47 #99D147
monochromatic
#20287E #2C38AF #4754D1 #7882DD #A9AFE9

Accessibility & contrast

On white

6.07
#4754D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4754D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754D1
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754D1#FFFFFF#000000##FFFFFF
##4754D11.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4754d1;
/* rgb */ color: rgb(71, 84, 209);
/* oklch */ color: oklch(51.1% 0.191 273.1);
Tailwind
colors: {
  custom: {
    50: '#8a84e0',
    500: '#4754d1',
    950: '#000000',
  },
}
SCSS
$custom: #4754d1;
$custom-light: #8a84e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4754d1",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 209
  },
  "hsl": {
    "h": 234.348,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51083,
    "c": 0.19087,
    "h": 273.1
  },
  "luminance": 0.12284
}

Semantic roles & 50–950 ramp

primary
#4754D1
secondary
#D7D19D
accent
#D445E3
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4754D1

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

Preview Lab → · Contrast checker → · Palette generator →

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