#4857BA#4857BA

#4857BA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.156 H 273.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4857BA
RGBrgb(72, 87, 186)
HSLhsl(232, 45%, 51%)
HSVhsv(232, 61%, 73%)
CMYKcmyk(61.3%, 53.2%, 0%, 27.1%)
CIE-LABlab(40.80, 25.03, -54.21)
CIE-LCHlch(40.80, 59.71, 294.79°)
OKLaboklab(49.92% 0.0081 -0.1554)
OKLCHoklch(49.92% 0.156 273)
XYZxyz(14.9407, 11.7381, 47.9232)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4857BA #BAAB48
analogous
#4890BA #4857BA #7248BA
triadic
#4857BA #BA4857 #57BA48
tetradic
#4857BA #BA4890 #BAAB48 #48BA72
square
#4857BA #BA4890 #BAAB48 #48BA72
split-complementary
#4857BA #BA7248 #90BA48
monochromatic
#252D62 #36428F #4857BA #7480CB #A1A9DC

Accessibility & contrast

On white

6.27
#4857BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4857BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4857BA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4857BA#FFFFFF#000000##FFFFFF
##4857BA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1965BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4857ba;
/* rgb */ color: rgb(72, 87, 186);
/* oklch */ color: oklch(49.9% 0.156 273.0);
Tailwind
colors: {
  custom: {
    50: '#8686cf',
    500: '#4857ba',
    950: '#000000',
  },
}
SCSS
$custom: #4857ba;
$custom-light: #8686cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4857ba",
  "rgb": {
    "r": 72,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 232.105,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49924,
    "c": 0.15564,
    "h": 273
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#4857BA
secondary
#C8C296
accent
#C453D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4857BA

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

Preview Lab → · Contrast checker → · Palette generator →

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