#4756CA#4756CA

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

Color values

HEX#4756CA
RGBrgb(71, 86, 202)
HSLhsl(233, 55%, 54%)
HSVhsv(233, 65%, 79%)
CMYKcmyk(64.9%, 57.4%, 0%, 20.8%)
CIE-LABlab(41.62, 31.02, -62.17)
CIE-LCHlch(41.62, 69.48, 296.51°)
OKLaboklab(50.89% 0.0085 -0.1789)
OKLCHoklch(50.89% 0.179 272.7)
XYZxyz(16.5834, 12.2580, 57.3578)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756CA #CABB47
analogous
#4797CA #4756CA #7947CA
triadic
#4756CA #CA4756 #56CA47
tetradic
#4756CA #CA4797 #CABB47 #47CA79
square
#4756CA #CA4797 #CABB47 #47CA79
split-complementary
#4756CA #CA7947 #97CA47
monochromatic
#222B75 #2F3DA4 #4756CA #7782D8 #A6ADE5

Accessibility & contrast

On white

6.08
#4756CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4756CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756CA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756CA#FFFFFF#000000##FFFFFF
##4756CA1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4756ca;
/* rgb */ color: rgb(71, 86, 202);
/* oklch */ color: oklch(50.9% 0.179 272.7);
Tailwind
colors: {
  custom: {
    50: '#8885db',
    500: '#4756ca',
    950: '#000000',
  },
}
SCSS
$custom: #4756ca;
$custom-light: #8885db;
$custom-dark: #000000;
JSON
{
  "hex": "#4756ca",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 233.13,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50889,
    "c": 0.1791,
    "h": 272.7
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#4756CA
secondary
#D2CC9A
accent
#CD49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4756CA

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

Preview Lab → · Contrast checker → · Palette generator →

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