#4857BC#4857BC

#4857BC is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.1% C 0.158 H 273.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4857BC
RGBrgb(72, 87, 188)
HSLhsl(232, 46%, 51%)
HSVhsv(232, 62%, 74%)
CMYKcmyk(61.7%, 53.7%, 0%, 26.3%)
CIE-LABlab(40.93, 25.72, -55.15)
CIE-LCHlch(40.93, 60.86, 295.00°)
OKLaboklab(50.07% 0.0082 -0.1582)
OKLCHoklch(50.07% 0.158 273)
XYZxyz(15.1548, 11.8237, 49.0508)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4857BC #BCAD48
analogous
#4891BC #4857BC #7348BC
triadic
#4857BC #BC4857 #57BC48
tetradic
#4857BC #BC4891 #BCAD48 #48BC73
square
#4857BC #BC4891 #BCAD48 #48BC73
split-complementary
#4857BC #BC7348 #91BC48
monochromatic
#252D65 #354192 #4857BC #7580CC #A2A9DD

Accessibility & contrast

On white

6.24
#4857BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4857BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4857BC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4857BC#FFFFFF#000000##FFFFFF
##4857BC1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4857bc;
/* rgb */ color: rgb(72, 87, 188);
/* oklch */ color: oklch(50.1% 0.158 273.0);
Tailwind
colors: {
  custom: {
    50: '#8686d1',
    500: '#4857bc',
    950: '#000000',
  },
}
SCSS
$custom: #4857bc;
$custom-light: #8686d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4857bc",
  "rgb": {
    "r": 72,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 232.241,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50072,
    "c": 0.15842,
    "h": 273
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#4857BC
secondary
#CAC396
accent
#C552D6
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4857BC

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

Preview Lab → · Contrast checker → · Palette generator →

#4857BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva