#4858DC#4858DC

#4858DC is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 52.8% C 0.200 H 272.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4858DC
RGBrgb(72, 88, 220)
HSLhsl(234, 68%, 57%)
HSVhsv(234, 67%, 86%)
CMYKcmyk(67.3%, 60%, 0%, 13.7%)
CIE-LABlab(43.54, 36.10, -69.38)
CIE-LCHlch(43.54, 78.21, 297.49°)
OKLaboklab(52.76% 0.0079 -0.2)
OKLCHoklch(52.76% 0.2 272.3)
XYZxyz(19.0761, 13.5227, 69.3011)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4858DC #DCCC48
analogous
#48A2DC #4858DC #8248DC
triadic
#4858DC #DC4858 #58DC48
tetradic
#4858DC #DC48A2 #DCCC48 #48DC82
square
#4858DC #DC48A2 #DCCC48 #48DC82
split-complementary
#4858DC #DC8248 #A2DC48
monochromatic
#1B288E #2536C2 #4858DC #7B87E6 #AFB6F0

Accessibility & contrast

On white

5.67
#4858DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4858DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4858DC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4858DC#FFFFFF#000000##FFFFFF
##4858DC1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#007991
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4858dc;
/* rgb */ color: rgb(72, 88, 220);
/* oklch */ color: oklch(52.8% 0.200 272.3);
Tailwind
colors: {
  custom: {
    50: '#8c87e8',
    500: '#4858dc',
    950: '#000000',
  },
}
SCSS
$custom: #4858dc;
$custom-light: #8c87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4858dc",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 233.514,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52756,
    "c": 0.20019,
    "h": 272.3
  },
  "luminance": 0.13524
}

Semantic roles & 50–950 ramp

primary
#4858DC
secondary
#DED7A2
accent
#D83DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4858DC

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

Preview Lab → · Contrast checker → · Palette generator →

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