#4857BF#4857BF

#4857BF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.163 H 272.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4857BF
RGBrgb(72, 87, 191)
HSLhsl(232, 48%, 52%)
HSVhsv(232, 62%, 75%)
CMYKcmyk(62.3%, 54.5%, 0%, 25.1%)
CIE-LABlab(41.14, 26.75, -56.57)
CIE-LCHlch(41.14, 62.57, 295.31°)
OKLaboklab(50.3% 0.0084 -0.1624)
OKLCHoklch(50.3% 0.163 272.9)
XYZxyz(15.4815, 11.9544, 50.7717)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4857BF #BFB048
analogous
#4893BF #4857BF #7548BF
triadic
#4857BF #BF4857 #57BF48
tetradic
#4857BF #BF4893 #BFB048 #48BF75
square
#4857BF #BF4893 #BFB048 #48BF75
split-complementary
#4857BF #BF7548 #93BF48
monochromatic
#242D68 #344196 #4857BF #7581CF #A3AADF

Accessibility & contrast

On white

6.19
#4857BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4857BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4857BF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4857BF#FFFFFF#000000##FFFFFF
##4857BF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B66C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4857bf;
/* rgb */ color: rgb(72, 87, 191);
/* oklch */ color: oklch(50.3% 0.163 272.9);
Tailwind
colors: {
  custom: {
    50: '#8786d3',
    500: '#4857bf',
    950: '#000000',
  },
}
SCSS
$custom: #4857bf;
$custom-light: #8786d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4857bf",
  "rgb": {
    "r": 72,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 232.437,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50295,
    "c": 0.16258,
    "h": 272.9
  },
  "luminance": 0.11956
}

Semantic roles & 50–950 ramp

primary
#4857BF
secondary
#CCC597
accent
#C750D8
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4857BF

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

Preview Lab → · Contrast checker → · Palette generator →

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