#4756D2#4756D2

#4756D2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.5% C 0.190 H 272.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4756D2
RGBrgb(71, 86, 210)
HSLhsl(234, 61%, 55%)
HSVhsv(234, 66%, 82%)
CMYKcmyk(66.2%, 59%, 0%, 17.6%)
CIE-LABlab(42.23, 33.77, -65.80)
CIE-LCHlch(42.23, 73.97, 297.17°)
OKLaboklab(51.53% 0.0086 -0.1896)
OKLCHoklch(51.53% 0.19 272.6)
XYZxyz(17.5553, 12.6467, 62.4762)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756D2 #D2C347
analogous
#479CD2 #4756D2 #7D47D2
triadic
#4756D2 #D24756 #56D247
tetradic
#4756D2 #D2479C #D2C347 #47D27D
square
#4756D2 #D2479C #D2C347 #47D27D
split-complementary
#4756D2 #D27D47 #9CD247
monochromatic
#1F2A7F #2B3AB1 #4756D2 #7883DE #A9B0EA

Accessibility & contrast

On white

5.95
#4756D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4756D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756D2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756D2#FFFFFF#000000##FFFFFF
##4756D21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4756d2;
/* rgb */ color: rgb(71, 86, 210);
/* oklch */ color: oklch(51.5% 0.190 272.6);
Tailwind
colors: {
  custom: {
    50: '#8a85e1',
    500: '#4756d2',
    950: '#000000',
  },
}
SCSS
$custom: #4756d2;
$custom-light: #8a85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4756d2",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 233.525,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51526,
    "c": 0.18976,
    "h": 272.6
  },
  "luminance": 0.12648
}

Semantic roles & 50–950 ramp

primary
#4756D2
secondary
#D8D19D
accent
#D344E4
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4756D2

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

Preview Lab → · Contrast checker → · Palette generator →

#4756D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva