#4858CE#4858CE

#4858CE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.182 H 272.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4858CE
RGBrgb(72, 88, 206)
HSLhsl(233, 58%, 55%)
HSVhsv(233, 65%, 81%)
CMYKcmyk(65%, 57.3%, 0%, 19.2%)
CIE-LABlab(42.48, 31.29, -63.09)
CIE-LCHlch(42.48, 70.42, 296.38°)
OKLaboklab(51.63% 0.0079 -0.1815)
OKLCHoklch(51.63% 0.182 272.5)
XYZxyz(17.2991, 12.8119, 59.9418)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4858CE #CEBE48
analogous
#489BCE #4858CE #7B48CE
triadic
#4858CE #CE4858 #58CE48
tetradic
#4858CE #CE489B #CEBE48 #48CE7B
square
#4858CE #CE489B #CEBE48 #48CE7B
split-complementary
#4858CE #CE7B48 #9BCE48
monochromatic
#212C7B #2E3DAB #4858CE #7884DB #A9B0E8

Accessibility & contrast

On white

5.89
#4858CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4858CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4858CE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4858CE#FFFFFF#000000##FFFFFF
##4858CE1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4858ce;
/* rgb */ color: rgb(72, 88, 206);
/* oklch */ color: oklch(51.6% 0.182 272.5);
Tailwind
colors: {
  custom: {
    50: '#8987de',
    500: '#4858ce',
    950: '#000000',
  },
}
SCSS
$custom: #4858ce;
$custom-light: #8987de;
$custom-dark: #000000;
JSON
{
  "hex": "#4858ce",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 232.836,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51634,
    "c": 0.18172,
    "h": 272.5
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#4858CE
secondary
#D5CE9D
accent
#CF47E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4858CE

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

Preview Lab → · Contrast checker → · Palette generator →

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