#4756D4#4756D4

#4756D4 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.7% C 0.192 H 272.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4756D4
RGBrgb(71, 86, 212)
HSLhsl(234, 62%, 55%)
HSVhsv(234, 67%, 83%)
CMYKcmyk(66.5%, 59.4%, 0%, 16.9%)
CIE-LABlab(42.38, 34.46, -66.70)
CIE-LCHlch(42.38, 75.08, 297.32°)
OKLaboklab(51.69% 0.0086 -0.1922)
OKLCHoklch(51.69% 0.192 272.5)
XYZxyz(17.8060, 12.7470, 63.7966)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756D4 #D4C547
analogous
#479CD4 #4756D4 #7E47D4
triadic
#4756D4 #D44756 #56D447
tetradic
#4756D4 #D4479C #D4C547 #47D47E
square
#4756D4 #D4479C #D4C547 #47D47E
split-complementary
#4756D4 #D47E47 #9CD447
monochromatic
#1E2982 #2A39B4 #4756D4 #7984E0 #AAB1EB

Accessibility & contrast

On white

5.92
#4756D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4756D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756D4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756D4#FFFFFF#000000##FFFFFF
##4756D41.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)
#006BD8
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4756d4;
/* rgb */ color: rgb(71, 86, 212);
/* oklch */ color: oklch(51.7% 0.192 272.5);
Tailwind
colors: {
  custom: {
    50: '#8a85e2',
    500: '#4756d4',
    950: '#000000',
  },
}
SCSS
$custom: #4756d4;
$custom-light: #8a85e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4756d4",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 233.617,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51688,
    "c": 0.1924,
    "h": 272.5
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#4756D4
secondary
#D9D39E
accent
#D443E5
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4756D4

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

Preview Lab → · Contrast checker → · Palette generator →

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