#4754DA#4754DA

#4754DA is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.8% C 0.203 H 272.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4754DA
RGBrgb(71, 84, 218)
HSLhsl(235, 67%, 57%)
HSVhsv(235, 67%, 85%)
CMYKcmyk(67.4%, 61.5%, 0%, 14.5%)
CIE-LABlab(42.37, 37.75, -70.15)
CIE-LCHlch(42.37, 79.67, 298.29°)
OKLaboklab(51.83% 0.01 -0.2024)
OKLCHoklch(51.83% 0.203 272.8)
XYZxyz(18.4195, 12.7405, 67.8045)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754DA #DACD47
analogous
#479EDA #4754DA #8447DA
triadic
#4754DA #DA4754 #54DA47
tetradic
#4754DA #DA479E #DACD47 #47DA84
square
#4754DA #DA479E #DACD47 #47DA84
split-complementary
#4754DA #DA8447 #9EDA47
monochromatic
#1C268B #2634BE #4754DA #7A83E4 #ADB3EE

Accessibility & contrast

On white

5.92
#4754DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4754DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754DA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754DA#FFFFFF#000000##FFFFFF
##4754DA1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#005DD7
Tritanopia (blue-blind)
#00768F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4754da;
/* rgb */ color: rgb(71, 84, 218);
/* oklch */ color: oklch(51.8% 0.203 272.8);
Tailwind
colors: {
  custom: {
    50: '#8c84e6',
    500: '#4754da',
    950: '#000000',
  },
}
SCSS
$custom: #4754da;
$custom-light: #8c84e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4754da",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 234.694,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51827,
    "c": 0.2026,
    "h": 272.8
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#4754DA
secondary
#DCD7A0
accent
#DA3EE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4754DA

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

Preview Lab → · Contrast checker → · Palette generator →

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