#4756AC#4756AC

#4756AC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.137 H 272.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4756AC
RGBrgb(71, 86, 172)
HSLhsl(231, 42%, 48%)
HSVhsv(231, 59%, 67%)
CMYKcmyk(58.7%, 50%, 0%, 32.5%)
CIE-LABlab(39.53, 20.67, -48.01)
CIE-LCHlch(39.53, 52.27, 293.29°)
OKLaboklab(48.66% 0.0068 -0.1372)
OKLCHoklch(48.66% 0.137 272.8)
XYZxyz(13.3703, 10.9727, 40.4351)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4756AC #AC9D47
analogous
#4789AC #4756AC #6A47AC
triadic
#4756AC #AC4756 #56AC47
tetradic
#4756AC #AC4789 #AC9D47 #47AC6A
square
#4756AC #AC4789 #AC9D47 #47AC6A
split-complementary
#4756AC #AC6A47 #89AC47
monochromatic
#232B55 #354081 #4756AC #6D7AC3 #99A2D5

Accessibility & contrast

On white

6.57
#4756AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4756AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4756AC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4756AC#FFFFFF#000000##FFFFFF
##4756AC1.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62AF
Deuteranopia (green-blind)
#1859AA
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4756ac;
/* rgb */ color: rgb(71, 86, 172);
/* oklch */ color: oklch(48.7% 0.137 272.8);
Tailwind
colors: {
  custom: {
    50: '#8385c5',
    500: '#4756ac',
    950: '#000000',
  },
}
SCSS
$custom: #4756ac;
$custom-light: #8385c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4756ac",
  "rgb": {
    "r": 71,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 231.089,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48657,
    "c": 0.13739,
    "h": 272.8
  },
  "luminance": 0.10974
}

Semantic roles & 50–950 ramp

primary
#4756AC
secondary
#C1B98E
accent
#BF56D1
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4756AC

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

Preview Lab → · Contrast checker → · Palette generator →

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