#4858D4#4858D4

#4858D4 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.190 H 272.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4858D4
RGBrgb(72, 88, 212)
HSLhsl(233, 62%, 56%)
HSVhsv(233, 66%, 83%)
CMYKcmyk(66%, 58.5%, 0%, 16.9%)
CIE-LABlab(42.93, 33.36, -65.81)
CIE-LCHlch(42.93, 73.78, 296.88°)
OKLaboklab(52.11% 0.008 -0.1895)
OKLCHoklch(52.11% 0.19 272.4)
XYZxyz(18.0419, 13.1090, 63.8541)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4858D4 #D4C448
analogous
#489ED4 #4858D4 #7E48D4
triadic
#4858D4 #D44858 #58D448
tetradic
#4858D4 #D4489E #D4C448 #48D47E
square
#4858D4 #D4489E #D4C448 #48D47E
split-complementary
#4858D4 #D47E48 #9ED448
monochromatic
#1F2A83 #2A3AB4 #4858D4 #7A85E0 #ABB2EB

Accessibility & contrast

On white

5.80
#4858D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4858D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4858D4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4858D4#FFFFFF#000000##FFFFFF
##4858D41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#00778D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4858d4;
/* rgb */ color: rgb(72, 88, 212);
/* oklch */ color: oklch(52.1% 0.190 272.4);
Tailwind
colors: {
  custom: {
    50: '#8b87e2',
    500: '#4858d4',
    950: '#000000',
  },
}
SCSS
$custom: #4858d4;
$custom-light: #8b87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4858d4",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 212
  },
  "hsl": {
    "h": 233.143,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52109,
    "c": 0.18971,
    "h": 272.4
  },
  "luminance": 0.13111
}

Semantic roles & 50–950 ramp

primary
#4858D4
secondary
#D9D29F
accent
#D243E5
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4858D4

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

Preview Lab → · Contrast checker → · Palette generator →

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