#4858CC#4858CC

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

Color values

HEX#4858CC
RGBrgb(72, 88, 204)
HSLhsl(233, 56%, 54%)
HSVhsv(233, 65%, 80%)
CMYKcmyk(64.7%, 56.9%, 0%, 20%)
CIE-LABlab(42.33, 30.60, -62.18)
CIE-LCHlch(42.33, 69.30, 296.21°)
OKLaboklab(51.48% 0.0079 -0.1789)
OKLCHoklch(51.48% 0.179 272.5)
XYZxyz(17.0577, 12.7153, 58.6704)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4858CC #CCBC48
analogous
#489ACC #4858CC #7A48CC
triadic
#4858CC #CC4858 #58CC48
tetradic
#4858CC #CC489A #CCBC48 #48CC7A
square
#4858CC #CC489A #CCBC48 #48CC7A
split-complementary
#4858CC #CC7A48 #9ACC48
monochromatic
#212C78 #2F3EA8 #4858CC #7884D9 #A8AFE7

Accessibility & contrast

On white

5.93
#4858CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4858CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4858CC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4858CC#FFFFFF#000000##FFFFFF
##4858CC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4858cc;
/* rgb */ color: rgb(72, 88, 204);
/* oklch */ color: oklch(51.5% 0.179 272.5);
Tailwind
colors: {
  custom: {
    50: '#8987dc',
    500: '#4858cc',
    950: '#000000',
  },
}
SCSS
$custom: #4858cc;
$custom-light: #8987dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4858cc",
  "rgb": {
    "r": 72,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 232.727,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.17903,
    "h": 272.5
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#4858CC
secondary
#D4CD9C
accent
#CD48E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4858CC

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

Preview Lab → · Contrast checker → · Palette generator →

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