#4754AC#4754AC

#4754AC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.140 H 273.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4754AC
RGBrgb(71, 84, 172)
HSLhsl(232, 42%, 48%)
HSVhsv(232, 59%, 67%)
CMYKcmyk(58.7%, 51.2%, 0%, 32.5%)
CIE-LABlab(39.00, 21.95, -48.87)
CIE-LCHlch(39.00, 53.57, 294.19°)
OKLaboklab(48.25% 0.0089 -0.1398)
OKLCHoklch(48.25% 0.14 273.7)
XYZxyz(13.2128, 10.6578, 40.3826)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754AC #AC9F47
analogous
#4787AC #4754AC #6C47AC
triadic
#4754AC #AC4754 #54AC47
tetradic
#4754AC #AC4787 #AC9F47 #47AC6C
square
#4754AC #AC4787 #AC9F47 #47AC6C
split-complementary
#4754AC #AC6C47 #87AC47
monochromatic
#232A55 #353F81 #4754AC #6D78C3 #99A0D5

Accessibility & contrast

On white

6.71
#4754AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4754AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754AC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754AC#FFFFFF#000000##FFFFFF
##4754AC1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AF
Deuteranopia (green-blind)
#1158AA
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4754ac;
/* rgb */ color: rgb(71, 84, 172);
/* oklch */ color: oklch(48.3% 0.140 273.7);
Tailwind
colors: {
  custom: {
    50: '#8383c5',
    500: '#4754ac',
    950: '#000000',
  },
}
SCSS
$custom: #4754ac;
$custom-light: #8383c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4754ac",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 232.277,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48251,
    "c": 0.14006,
    "h": 273.7
  },
  "luminance": 0.10659
}

Semantic roles & 50–950 ramp

primary
#4754AC
secondary
#C1BA8E
accent
#C256D1
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4754AC

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

Preview Lab → · Contrast checker → · Palette generator →

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