#4756CF#4756CF

#4756CF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.3% C 0.186 H 272.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4756CF
RGBrgb(71, 86, 207)
HSLhsl(233, 59%, 55%)
HSVhsv(233, 66%, 81%)
CMYKcmyk(65.7%, 58.5%, 0%, 18.8%)
CIE-LABlab(42.00, 32.74, -64.45)
CIE-LCHlch(42.00, 72.29, 296.93°)
OKLaboklab(51.29% 0.0086 -0.1856)
OKLCHoklch(51.29% 0.186 272.6)
XYZxyz(17.1850, 12.4986, 60.5262)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756CF #CFC047
analogous
#479ACF #4756CF #7C47CF
triadic
#4756CF #CF4756 #56CF47
tetradic
#4756CF #CF479A #CFC047 #47CF7C
square
#4756CF #CF479A #CFC047 #47CF7C
split-complementary
#4756CF #CF7C47 #9ACF47
monochromatic
#202A7B #2D3BAC #4756CF #7883DC #A8AFE8

Accessibility & contrast

On white

6.00
#4756CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4756CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756CF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756CF#FFFFFF#000000##FFFFFF
##4756CF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4756cf;
/* rgb */ color: rgb(71, 86, 207);
/* oklch */ color: oklch(51.3% 0.186 272.6);
Tailwind
colors: {
  custom: {
    50: '#8985df',
    500: '#4756cf',
    950: '#000000',
  },
}
SCSS
$custom: #4756cf;
$custom-light: #8985df;
$custom-dark: #000000;
JSON
{
  "hex": "#4756cf",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 233.382,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.18579,
    "h": 272.6
  },
  "luminance": 0.125
}

Semantic roles & 50–950 ramp

primary
#4756CF
secondary
#D6CF9C
accent
#D146E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4756CF

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

Preview Lab → · Contrast checker → · Palette generator →

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