#4858BC#4858BC

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

Color values

HEX#4858BC
RGBrgb(72, 88, 188)
HSLhsl(232, 46%, 51%)
HSVhsv(232, 62%, 74%)
CMYKcmyk(61.7%, 53.2%, 0%, 26.3%)
CIE-LABlab(41.20, 25.08, -54.73)
CIE-LCHlch(41.20, 60.21, 294.62°)
OKLaboklab(50.27% 0.0072 -0.157)
OKLCHoklch(50.27% 0.157 272.6)
XYZxyz(15.2363, 11.9868, 49.0780)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4858BC #BCAC48
analogous
#4892BC #4858BC #7248BC
triadic
#4858BC #BC4858 #58BC48
tetradic
#4858BC #BC4892 #BCAC48 #48BC72
square
#4858BC #BC4892 #BCAC48 #48BC72
split-complementary
#4858BC #BC7248 #92BC48
monochromatic
#252E65 #354292 #4858BC #7581CC #A2AADD

Accessibility & contrast

On white

6.18
#4858BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4858BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4858BC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4858BC#FFFFFF#000000##FFFFFF
##4858BC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4858bc;
/* rgb */ color: rgb(72, 88, 188);
/* oklch */ color: oklch(50.3% 0.157 272.6);
Tailwind
colors: {
  custom: {
    50: '#8686d1',
    500: '#4858bc',
    950: '#000000',
  },
}
SCSS
$custom: #4858bc;
$custom-light: #8686d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4858bc",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 231.724,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.15713,
    "h": 272.6
  },
  "luminance": 0.11988
}

Semantic roles & 50–950 ramp

primary
#4858BC
secondary
#CAC396
accent
#C452D6
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4858BC

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

Preview Lab → · Contrast checker → · Palette generator →

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