#4857BE#4857BE

#4857BE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.161 H 273.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4857BE
RGBrgb(72, 87, 190)
HSLhsl(232, 48%, 51%)
HSVhsv(232, 62%, 75%)
CMYKcmyk(62.1%, 54.2%, 0%, 25.5%)
CIE-LABlab(41.07, 26.41, -56.10)
CIE-LCHlch(41.07, 62.00, 295.21°)
OKLaboklab(50.22% 0.0083 -0.161)
OKLCHoklch(50.22% 0.161 273)
XYZxyz(15.3719, 11.9105, 50.1941)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4857BE #BEAF48
analogous
#4892BE #4857BE #7448BE
triadic
#4857BE #BE4857 #57BE48
tetradic
#4857BE #BE4892 #BEAF48 #48BE74
square
#4857BE #BE4892 #BEAF48 #48BE74
split-complementary
#4857BE #BE7448 #92BE48
monochromatic
#252D67 #354194 #4857BE #7580CE #A2AADE

Accessibility & contrast

On white

6.21
#4857BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4857BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4857BE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4857BE#FFFFFF#000000##FFFFFF
##4857BE1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F66C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4857be;
/* rgb */ color: rgb(72, 87, 190);
/* oklch */ color: oklch(50.2% 0.161 273.0);
Tailwind
colors: {
  custom: {
    50: '#8786d2',
    500: '#4857be',
    950: '#000000',
  },
}
SCSS
$custom: #4857be;
$custom-light: #8786d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4857be",
  "rgb": {
    "r": 72,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 232.373,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5022,
    "c": 0.1612,
    "h": 273
  },
  "luminance": 0.11912
}

Semantic roles & 50–950 ramp

primary
#4857BE
secondary
#CBC497
accent
#C651D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4857BE

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

Preview Lab → · Contrast checker → · Palette generator →

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