#4858CF#4858CF

#4858CF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.7% C 0.183 H 272.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4858CF
RGBrgb(72, 88, 207)
HSLhsl(233, 58%, 55%)
HSVhsv(233, 65%, 81%)
CMYKcmyk(65.2%, 57.5%, 0%, 18.8%)
CIE-LABlab(42.55, 31.64, -63.55)
CIE-LCHlch(42.55, 70.99, 296.47°)
OKLaboklab(51.71% 0.0079 -0.1829)
OKLCHoklch(51.71% 0.183 272.5)
XYZxyz(17.4209, 12.8606, 60.5837)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4858CF #CFBF48
analogous
#489CCF #4858CF #7C48CF
triadic
#4858CF #CF4858 #58CF48
tetradic
#4858CF #CF489C #CFBF48 #48CF7C
square
#4858CF #CF489C #CFBF48 #48CF7C
split-complementary
#4858CF #CF7C48 #9CCF48
monochromatic
#212B7C #2D3CAD #4858CF #7884DC #A9B0E8

Accessibility & contrast

On white

5.88
#4858CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4858CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4858CF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4858CF#FFFFFF#000000##FFFFFF
##4858CF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4858cf;
/* rgb */ color: rgb(72, 88, 207);
/* oklch */ color: oklch(51.7% 0.183 272.5);
Tailwind
colors: {
  custom: {
    50: '#8a87df',
    500: '#4858cf',
    950: '#000000',
  },
}
SCSS
$custom: #4858cf;
$custom-light: #8a87df;
$custom-dark: #000000;
JSON
{
  "hex": "#4858cf",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 232.889,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51713,
    "c": 0.18305,
    "h": 272.5
  },
  "luminance": 0.12862
}

Semantic roles & 50–950 ramp

primary
#4858CF
secondary
#D6CF9D
accent
#CF46E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4858CF

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

Preview Lab → · Contrast checker → · Palette generator →

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