#4858D7#4858D7

#4858D7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.3% C 0.194 H 272.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4858D7
RGBrgb(72, 88, 215)
HSLhsl(233, 64%, 56%)
HSVhsv(233, 67%, 84%)
CMYKcmyk(66.5%, 59.1%, 0%, 15.7%)
CIE-LABlab(43.16, 34.39, -67.16)
CIE-LCHlch(43.16, 75.45, 297.12°)
OKLaboklab(52.35% 0.008 -0.1935)
OKLCHoklch(52.35% 0.194 272.4)
XYZxyz(18.4238, 13.2618, 65.8657)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4858D7 #D7C748
analogous
#48A0D7 #4858D7 #8048D7
triadic
#4858D7 #D74858 #58D748
tetradic
#4858D7 #D748A0 #D7C748 #48D780
square
#4858D7 #D748A0 #D7C748 #48D780
split-complementary
#4858D7 #D78048 #A0D748
monochromatic
#1E2987 #2939B9 #4858D7 #7A86E2 #ACB4ED

Accessibility & contrast

On white

5.75
#4858D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4858D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4858D7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4858D7#FFFFFF#000000##FFFFFF
##4858D71.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4858d7;
/* rgb */ color: rgb(72, 88, 215);
/* oklch */ color: oklch(52.3% 0.194 272.4);
Tailwind
colors: {
  custom: {
    50: '#8b87e4',
    500: '#4858d7',
    950: '#000000',
  },
}
SCSS
$custom: #4858d7;
$custom-light: #8b87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4858d7",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 233.287,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5235,
    "c": 0.19365,
    "h": 272.4
  },
  "luminance": 0.13263
}

Semantic roles & 50–950 ramp

primary
#4858D7
secondary
#DBD4A0
accent
#D541E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4858D7

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

Preview Lab → · Contrast checker → · Palette generator →

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