#4858CB#4858CB

#4858CB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.178 H 272.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4858CB
RGBrgb(72, 88, 203)
HSLhsl(233, 56%, 54%)
HSVhsv(233, 65%, 80%)
CMYKcmyk(64.5%, 56.7%, 0%, 20.4%)
CIE-LABlab(42.26, 30.26, -61.72)
CIE-LCHlch(42.26, 68.74, 296.12°)
OKLaboklab(51.4% 0.0079 -0.1775)
OKLCHoklch(51.4% 0.178 272.5)
XYZxyz(16.9381, 12.6675, 58.0408)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4858CB #CBBB48
analogous
#489ACB #4858CB #7A48CB
triadic
#4858CB #CB4858 #58CB48
tetradic
#4858CB #CB489A #CBBB48 #48CB7A
square
#4858CB #CB489A #CBBB48 #48CB7A
split-complementary
#4858CB #CB7A48 #9ACB48
monochromatic
#222C77 #2F3EA6 #4858CB #7883D9 #A7AFE6

Accessibility & contrast

On white

5.94
#4858CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4858CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4858CB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4858CB#FFFFFF#000000##FFFFFF
##4858CB1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4858cb;
/* rgb */ color: rgb(72, 88, 203);
/* oklch */ color: oklch(51.4% 0.178 272.5);
Tailwind
colors: {
  custom: {
    50: '#8987dc',
    500: '#4858cb',
    950: '#000000',
  },
}
SCSS
$custom: #4858cb;
$custom-light: #8987dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4858cb",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 232.672,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.514,
    "c": 0.17768,
    "h": 272.5
  },
  "luminance": 0.12669
}

Semantic roles & 50–950 ramp

primary
#4858CB
secondary
#D3CD9B
accent
#CD49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4858CB

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

Preview Lab → · Contrast checker → · Palette generator →

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