#4756CC#4756CC

#4756CC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.0% C 0.182 H 272.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4756CC
RGBrgb(71, 86, 204)
HSLhsl(233, 57%, 54%)
HSVhsv(233, 65%, 80%)
CMYKcmyk(65.2%, 57.8%, 0%, 20%)
CIE-LABlab(41.77, 31.71, -63.09)
CIE-LCHlch(41.77, 70.61, 296.68°)
OKLaboklab(51.05% 0.0086 -0.1816)
OKLCHoklch(51.05% 0.182 272.7)
XYZxyz(16.8218, 12.3533, 58.6130)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756CC #CCBD47
analogous
#4799CC #4756CC #7B47CC
triadic
#4756CC #CC4756 #56CC47
tetradic
#4756CC #CC4799 #CCBD47 #47CC7B
square
#4756CC #CC4799 #CCBD47 #47CC7B
split-complementary
#4756CC #CC7B47 #99CC47
monochromatic
#212B77 #2E3CA7 #4756CC #7782D9 #A7AEE7

Accessibility & contrast

On white

6.05
#4756CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4756CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756CC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756CC#FFFFFF#000000##FFFFFF
##4756CC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4756cc;
/* rgb */ color: rgb(71, 86, 204);
/* oklch */ color: oklch(51.0% 0.182 272.7);
Tailwind
colors: {
  custom: {
    50: '#8985dc',
    500: '#4756cc',
    950: '#000000',
  },
}
SCSS
$custom: #4756cc;
$custom-light: #8985dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4756cc",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 233.233,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51046,
    "c": 0.18178,
    "h": 272.7
  },
  "luminance": 0.12355
}

Semantic roles & 50–950 ramp

primary
#4756CC
secondary
#D4CD9B
accent
#CF48E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4756CC

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

Preview Lab → · Contrast checker → · Palette generator →

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