#4858BA#4858BA

#4858BA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.1% C 0.154 H 272.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4858BA
RGBrgb(72, 88, 186)
HSLhsl(232, 45%, 51%)
HSVhsv(232, 61%, 73%)
CMYKcmyk(61.3%, 52.7%, 0%, 27.1%)
CIE-LABlab(41.06, 24.39, -53.79)
CIE-LCHlch(41.06, 59.06, 294.40°)
OKLaboklab(50.12% 0.0071 -0.1542)
OKLCHoklch(50.12% 0.154 272.6)
XYZxyz(15.0222, 11.9011, 47.9504)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4858BA #BAAA48
analogous
#4891BA #4858BA #7148BA
triadic
#4858BA #BA4858 #58BA48
tetradic
#4858BA #BA4891 #BAAA48 #48BA71
square
#4858BA #BA4891 #BAAA48 #48BA71
split-complementary
#4858BA #BA7148 #91BA48
monochromatic
#252E62 #36428F #4858BA #7481CB #A1A9DC

Accessibility & contrast

On white

6.21
#4858BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4858BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4858BA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4858BA#FFFFFF#000000##FFFFFF
##4858BA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4858ba;
/* rgb */ color: rgb(72, 88, 186);
/* oklch */ color: oklch(50.1% 0.154 272.6);
Tailwind
colors: {
  custom: {
    50: '#8686cf',
    500: '#4858ba',
    950: '#000000',
  },
}
SCSS
$custom: #4858ba;
$custom-light: #8686cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4858ba",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 231.579,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50121,
    "c": 0.15433,
    "h": 272.6
  },
  "luminance": 0.11902
}

Semantic roles & 50–950 ramp

primary
#4858BA
secondary
#C8C196
accent
#C353D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4858BA

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

Preview Lab → · Contrast checker → · Palette generator →

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