#4856BF#4856BF

#4856BF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.1% C 0.164 H 273.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4856BF
RGBrgb(72, 86, 191)
HSLhsl(233, 48%, 52%)
HSVhsv(233, 62%, 75%)
CMYKcmyk(62.3%, 55%, 0%, 25.1%)
CIE-LABlab(40.89, 27.39, -56.98)
CIE-LCHlch(40.89, 63.22, 295.67°)
OKLaboklab(50.1% 0.0093 -0.1636)
OKLCHoklch(50.1% 0.164 273.3)
XYZxyz(15.4011, 11.7936, 50.7449)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4856BF #BFB148
analogous
#4892BF #4856BF #7648BF
triadic
#4856BF #BF4856 #56BF48
tetradic
#4856BF #BF4892 #BFB148 #48BF76
square
#4856BF #BF4892 #BFB148 #48BF76
split-complementary
#4856BF #BF7648 #92BF48
monochromatic
#242C68 #344096 #4856BF #7580CF #A3AADF

Accessibility & contrast

On white

6.25
#4856BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4856BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4856BF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4856BF#FFFFFF#000000##FFFFFF
##4856BF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0466C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4856bf;
/* rgb */ color: rgb(72, 86, 191);
/* oklch */ color: oklch(50.1% 0.164 273.3);
Tailwind
colors: {
  custom: {
    50: '#8785d3',
    500: '#4856bf',
    950: '#000000',
  },
}
SCSS
$custom: #4856bf;
$custom-light: #8785d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4856bf",
  "rgb": {
    "r": 72,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 232.941,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50102,
    "c": 0.16386,
    "h": 273.3
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4856BF

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

Preview Lab → · Contrast checker → · Palette generator →

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