#4756D1#4756D1

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

Color values

HEX#4756D1
RGBrgb(71, 86, 209)
HSLhsl(233, 60%, 55%)
HSVhsv(233, 66%, 82%)
CMYKcmyk(66%, 58.9%, 0%, 18%)
CIE-LABlab(42.15, 33.43, -65.35)
CIE-LCHlch(42.15, 73.41, 297.09°)
OKLaboklab(51.44% 0.0086 -0.1882)
OKLCHoklch(51.44% 0.188 272.6)
XYZxyz(17.4311, 12.5970, 61.8221)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756D1 #D1C247
analogous
#479BD1 #4756D1 #7D47D1
triadic
#4756D1 #D14756 #56D147
tetradic
#4756D1 #D1479B #D1C247 #47D17D
square
#4756D1 #D1479B #D1C247 #47D17D
split-complementary
#4756D1 #D17D47 #9BD147
monochromatic
#202A7E #2C3AAF #4756D1 #7883DD #A9B0E9

Accessibility & contrast

On white

5.97
#4756D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4756D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756D1
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756D1#FFFFFF#000000##FFFFFF
##4756D11.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)
#006AD5
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4756d1;
/* rgb */ color: rgb(71, 86, 209);
/* oklch */ color: oklch(51.4% 0.188 272.6);
Tailwind
colors: {
  custom: {
    50: '#8a85e0',
    500: '#4756d1',
    950: '#000000',
  },
}
SCSS
$custom: #4756d1;
$custom-light: #8a85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4756d1",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 209
  },
  "hsl": {
    "h": 233.478,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51445,
    "c": 0.18843,
    "h": 272.6
  },
  "luminance": 0.12599
}

Semantic roles & 50–950 ramp

primary
#4756D1
secondary
#D7D19D
accent
#D245E3
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4756D1

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

Preview Lab → · Contrast checker → · Palette generator →

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