#4858C3#4858C3

#4858C3 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.167 H 272.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4858C3
RGBrgb(72, 88, 195)
HSLhsl(232, 51%, 52%)
HSVhsv(232, 63%, 76%)
CMYKcmyk(63.1%, 54.9%, 0%, 23.5%)
CIE-LABlab(41.68, 27.50, -58.02)
CIE-LCHlch(41.68, 64.21, 295.36°)
OKLaboklab(50.79% 0.0076 -0.1666)
OKLCHoklch(50.79% 0.167 272.6)
XYZxyz(16.0093, 12.2959, 53.1489)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4858C3 #C3B348
analogous
#4896C3 #4858C3 #7648C3
triadic
#4858C3 #C34858 #58C348
tetradic
#4858C3 #C34896 #C3B348 #48C376
square
#4858C3 #C34896 #C3B348 #48C376
split-complementary
#4858C3 #C37648 #96C348
monochromatic
#242D6D #33409B #4858C3 #7682D2 #A4ACE1

Accessibility & contrast

On white

6.07
#4858C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4858C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4858C3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4858C3#FFFFFF#000000##FFFFFF
##4858C31.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0368C7
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4858c3;
/* rgb */ color: rgb(72, 88, 195);
/* oklch */ color: oklch(50.8% 0.167 272.6);
Tailwind
colors: {
  custom: {
    50: '#8787d6',
    500: '#4858c3',
    950: '#000000',
  },
}
SCSS
$custom: #4858c3;
$custom-light: #8787d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4858c3",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 195
  },
  "hsl": {
    "h": 232.195,
    "s": 50.617,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50788,
    "c": 0.1668,
    "h": 272.6
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#4858C3
secondary
#CEC799
accent
#C84EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4858C3

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

Preview Lab → · Contrast checker → · Palette generator →

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