#4754D7#4754D7

#4754D7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.199 H 272.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4754D7
RGBrgb(71, 84, 215)
HSLhsl(235, 64%, 56%)
HSVhsv(235, 67%, 84%)
CMYKcmyk(67%, 60.9%, 0%, 15.7%)
CIE-LABlab(42.13, 36.73, -68.83)
CIE-LCHlch(42.13, 78.01, 298.09°)
OKLaboklab(51.58% 0.0101 -0.1985)
OKLCHoklch(51.58% 0.199 272.9)
XYZxyz(18.0305, 12.5849, 65.7557)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754D7 #D7CA47
analogous
#479CD7 #4754D7 #8247D7
triadic
#4754D7 #D74754 #54D747
tetradic
#4754D7 #D7479C #D7CA47 #47D782
square
#4754D7 #D7479C #D7CA47 #47D782
split-complementary
#4754D7 #D78247 #9CD747
monochromatic
#1D2786 #2835B9 #4754D7 #7983E2 #ACB1ED

Accessibility & contrast

On white

5.97
#4754D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4754D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754D7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754D7#FFFFFF#000000##FFFFFF
##4754D71.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#005DD4
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4754d7;
/* rgb */ color: rgb(71, 84, 215);
/* oklch */ color: oklch(51.6% 0.199 272.9);
Tailwind
colors: {
  custom: {
    50: '#8b84e4',
    500: '#4754d7',
    950: '#000000',
  },
}
SCSS
$custom: #4754d7;
$custom-light: #8b84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4754d7",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 215
  },
  "hsl": {
    "h": 234.583,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51577,
    "c": 0.19871,
    "h": 272.9
  },
  "luminance": 0.12587
}

Semantic roles & 50–950 ramp

primary
#4754D7
secondary
#DBD59F
accent
#D841E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4754D7

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

Preview Lab → · Contrast checker → · Palette generator →

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