#4756CB#4756CB

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

Color values

HEX#4756CB
RGBrgb(71, 86, 203)
HSLhsl(233, 56%, 54%)
HSVhsv(233, 65%, 80%)
CMYKcmyk(65%, 57.6%, 0%, 20.4%)
CIE-LABlab(41.70, 31.36, -62.63)
CIE-LCHlch(41.70, 70.05, 296.60°)
OKLaboklab(50.97% 0.0086 -0.1802)
OKLCHoklch(50.97% 0.18 272.7)
XYZxyz(16.7022, 12.3055, 57.9833)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756CB #CBBC47
analogous
#4798CB #4756CB #7A47CB
triadic
#4756CB #CB4756 #56CB47
tetradic
#4756CB #CB4798 #CBBC47 #47CB7A
square
#4756CB #CB4798 #CBBC47 #47CB7A
split-complementary
#4756CB #CB7A47 #98CB47
monochromatic
#212B76 #2F3CA6 #4756CB #7782D8 #A6AEE6

Accessibility & contrast

On white

6.07
#4756CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4756CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756CB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756CB#FFFFFF#000000##FFFFFF
##4756CB1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4756cb;
/* rgb */ color: rgb(71, 86, 203);
/* oklch */ color: oklch(51.0% 0.180 272.7);
Tailwind
colors: {
  custom: {
    50: '#8885dc',
    500: '#4756cb',
    950: '#000000',
  },
}
SCSS
$custom: #4756cb;
$custom-light: #8885dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4756cb",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 233.182,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50967,
    "c": 0.18044,
    "h": 272.7
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#4756CB
secondary
#D3CD9B
accent
#CE49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4756CB

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

Preview Lab → · Contrast checker → · Palette generator →

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