#4756BF#4756BF

#4756BF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.164 H 272.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4756BF
RGBrgb(71, 86, 191)
HSLhsl(233, 48%, 51%)
HSVhsv(233, 63%, 75%)
CMYKcmyk(62.8%, 55%, 0%, 25.1%)
CIE-LABlab(40.82, 27.22, -57.09)
CIE-LCHlch(40.82, 63.24, 295.49°)
OKLaboklab(50.04% 0.0082 -0.1639)
OKLCHoklch(50.04% 0.164 272.9)
XYZxyz(15.3272, 11.7555, 50.7414)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756BF #BFB047
analogous
#4792BF #4756BF #7447BF
triadic
#4756BF #BF4756 #56BF47
tetradic
#4756BF #BF4792 #BFB047 #47BF74
square
#4756BF #BF4792 #BFB047 #47BF74
split-complementary
#4756BF #BF7447 #92BF47
monochromatic
#242C68 #344095 #4756BF #7480CF #A2A9DF

Accessibility & contrast

On white

6.27
#4756BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4756BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756BF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756BF#FFFFFF#000000##FFFFFF
##4756BF1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0366C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4756bf;
/* rgb */ color: rgb(71, 86, 191);
/* oklch */ color: oklch(50.0% 0.164 272.9);
Tailwind
colors: {
  custom: {
    50: '#8685d3',
    500: '#4756bf',
    950: '#000000',
  },
}
SCSS
$custom: #4756bf;
$custom-light: #8685d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4756bf",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 232.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5004,
    "c": 0.16414,
    "h": 272.9
  },
  "luminance": 0.11757
}

Semantic roles & 50–950 ramp

primary
#4756BF
secondary
#CBC596
accent
#C750D8
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4756BF

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

Preview Lab → · Contrast checker → · Palette generator →

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