#4858D2#4858D2

#4858D2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.187 H 272.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4858D2
RGBrgb(72, 88, 210)
HSLhsl(233, 61%, 55%)
HSVhsv(233, 66%, 82%)
CMYKcmyk(65.7%, 58.1%, 0%, 17.6%)
CIE-LABlab(42.78, 32.67, -64.91)
CIE-LCHlch(42.78, 72.67, 296.72°)
OKLaboklab(51.95% 0.008 -0.1869)
OKLCHoklch(51.95% 0.187 272.4)
XYZxyz(17.7912, 13.0087, 62.5336)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4858D2 #D2C248
analogous
#489DD2 #4858D2 #7D48D2
triadic
#4858D2 #D24858 #58D248
tetradic
#4858D2 #D2489D #D2C248 #48D27D
square
#4858D2 #D2489D #D2C248 #48D27D
split-complementary
#4858D2 #D27D48 #9DD248
monochromatic
#202B80 #2C3BB1 #4858D2 #7985DE #AAB2EA

Accessibility & contrast

On white

5.83
#4858D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4858D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4858D2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4858D2#FFFFFF#000000##FFFFFF
##4858D21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4858d2;
/* rgb */ color: rgb(72, 88, 210);
/* oklch */ color: oklch(51.9% 0.187 272.4);
Tailwind
colors: {
  custom: {
    50: '#8a87e1',
    500: '#4858d2',
    950: '#000000',
  },
}
SCSS
$custom: #4858d2;
$custom-light: #8a87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4858d2",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 233.043,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5195,
    "c": 0.18705,
    "h": 272.4
  },
  "luminance": 0.1301
}

Semantic roles & 50–950 ramp

primary
#4858D2
secondary
#D8D19E
accent
#D144E4
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4858D2

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

Preview Lab → · Contrast checker → · Palette generator →

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