#4858BD#4858BD

#4858BD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.159 H 272.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4858BD
RGBrgb(72, 88, 189)
HSLhsl(232, 47%, 51%)
HSVhsv(232, 62%, 74%)
CMYKcmyk(61.9%, 53.4%, 0%, 25.9%)
CIE-LABlab(41.26, 25.43, -55.21)
CIE-LCHlch(41.26, 60.78, 294.73°)
OKLaboklab(50.34% 0.0073 -0.1583)
OKLCHoklch(50.34% 0.159 272.6)
XYZxyz(15.3445, 12.0300, 49.6477)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4858BD #BDAD48
analogous
#4892BD #4858BD #7248BD
triadic
#4858BD #BD4858 #58BD48
tetradic
#4858BD #BD4892 #BDAD48 #48BD72
square
#4858BD #BD4892 #BDAD48 #48BD72
split-complementary
#4858BD #BD7248 #92BD48
monochromatic
#252E66 #354293 #4858BD #7581CD #A2AADD

Accessibility & contrast

On white

6.17
#4858BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4858BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4858BD
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4858BD#FFFFFF#000000##FFFFFF
##4858BD1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4858bd;
/* rgb */ color: rgb(72, 88, 189);
/* oklch */ color: oklch(50.3% 0.159 272.6);
Tailwind
colors: {
  custom: {
    50: '#8686d2',
    500: '#4858bd',
    950: '#000000',
  },
}
SCSS
$custom: #4858bd;
$custom-light: #8686d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4858bd",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 231.795,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50341,
    "c": 0.15852,
    "h": 272.6
  },
  "luminance": 0.12031
}

Semantic roles & 50–950 ramp

primary
#4858BD
secondary
#CAC397
accent
#C451D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4858BD

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

Preview Lab → · Contrast checker → · Palette generator →

#4858BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva