#4754DB#4754DB

#4754DB is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 51.9% C 0.204 H 272.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4754DB
RGBrgb(71, 84, 219)
HSLhsl(235, 67%, 57%)
HSVhsv(235, 68%, 86%)
CMYKcmyk(67.6%, 61.6%, 0%, 14.1%)
CIE-LABlab(42.45, 38.09, -70.59)
CIE-LCHlch(42.45, 80.22, 298.35°)
OKLaboklab(51.91% 0.0099 -0.2036)
OKLCHoklch(51.91% 0.204 272.8)
XYZxyz(18.5508, 12.7930, 68.4958)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754DB #DBCE47
analogous
#479EDB #4754DB #8447DB
triadic
#4754DB #DB4754 #54DB47
tetradic
#4754DB #DB479E #DBCE47 #47DB84
square
#4754DB #DB479E #DBCE47 #47DB84
split-complementary
#4754DB #DB8447 #9EDB47
monochromatic
#1B258C #2533BF #4754DB #7A84E5 #ADB3EF

Accessibility & contrast

On white

5.90
#4754DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4754DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754DB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754DB#FFFFFF#000000##FFFFFF
##4754DB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4754db;
/* rgb */ color: rgb(71, 84, 219);
/* oklch */ color: oklch(51.9% 0.204 272.8);
Tailwind
colors: {
  custom: {
    50: '#8c84e7',
    500: '#4754db',
    950: '#000000',
  },
}
SCSS
$custom: #4754db;
$custom-light: #8c84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4754db",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 234.73,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.20389,
    "h": 272.8
  },
  "luminance": 0.12795
}

Semantic roles & 50–950 ramp

primary
#4754DB
secondary
#DDD8A1
accent
#DB3EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4754DB

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

Preview Lab → · Contrast checker → · Palette generator →

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