#4858C7#4858C7

#4858C7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.172 H 272.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4858C7
RGBrgb(72, 88, 199)
HSLhsl(232, 53%, 53%)
HSVhsv(232, 64%, 78%)
CMYKcmyk(63.8%, 55.8%, 0%, 22%)
CIE-LABlab(41.97, 28.88, -59.88)
CIE-LCHlch(41.97, 66.48, 295.75°)
OKLaboklab(51.09% 0.0078 -0.1721)
OKLCHoklch(51.09% 0.172 272.6)
XYZxyz(16.4676, 12.4793, 55.5627)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4858C7 #C7B748
analogous
#4897C7 #4858C7 #7748C7
triadic
#4858C7 #C74858 #58C748
tetradic
#4858C7 #C74897 #C7B748 #48C777
square
#4858C7 #C74897 #C7B748 #48C777
split-complementary
#4858C7 #C77748 #97C748
monochromatic
#232D72 #313FA1 #4858C7 #7783D5 #A6AEE4

Accessibility & contrast

On white

6.01
#4858C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4858C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4858C7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4858C7#FFFFFF#000000##FFFFFF
##4858C71.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4858c7;
/* rgb */ color: rgb(72, 88, 199);
/* oklch */ color: oklch(51.1% 0.172 272.6);
Tailwind
colors: {
  custom: {
    50: '#8887d9',
    500: '#4858c7',
    950: '#000000',
  },
}
SCSS
$custom: #4858c7;
$custom-light: #8887d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4858c7",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 199
  },
  "hsl": {
    "h": 232.441,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51092,
    "c": 0.17227,
    "h": 272.6
  },
  "luminance": 0.12481
}

Semantic roles & 50–950 ramp

primary
#4858C7
secondary
#D1CA9A
accent
#CA4BDD
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4858C7

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

Preview Lab → · Contrast checker → · Palette generator →

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