#4859C2#4859C2

#4859C2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.164 H 272.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4859C2
RGBrgb(72, 89, 194)
HSLhsl(232, 50%, 52%)
HSVhsv(232, 63%, 76%)
CMYKcmyk(62.9%, 54.1%, 0%, 23.9%)
CIE-LABlab(41.87, 26.52, -57.14)
CIE-LCHlch(41.87, 62.99, 294.90°)
OKLaboklab(50.91% 0.0066 -0.164)
OKLCHoklch(50.91% 0.164 272.3)
XYZxyz(15.9792, 12.4162, 52.5830)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4859C2 #C2B148
analogous
#4896C2 #4859C2 #7448C2
triadic
#4859C2 #C24859 #59C248
tetradic
#4859C2 #C24896 #C2B148 #48C274
square
#4859C2 #C24896 #C2B148 #48C274
split-complementary
#4859C2 #C27448 #96C248
monochromatic
#242E6C #33419A #4859C2 #7683D1 #A4ACE1

Accessibility & contrast

On white

6.03
#4859C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4859C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4859C2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4859C2#FFFFFF#000000##FFFFFF
##4859C21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E68C6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4859c2;
/* rgb */ color: rgb(72, 89, 194);
/* oklch */ color: oklch(50.9% 0.164 272.3);
Tailwind
colors: {
  custom: {
    50: '#8787d5',
    500: '#4859c2',
    950: '#000000',
  },
}
SCSS
$custom: #4859c2;
$custom-light: #8787d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4859c2",
  "rgb": {
    "r": 72,
    "g": 89,
    "b": 194
  },
  "hsl": {
    "h": 231.639,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50907,
    "c": 0.16415,
    "h": 272.3
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#4859C2
secondary
#CEC698
accent
#C64EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4859C2

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

Preview Lab → · Contrast checker → · Palette generator →

#4859C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva