#4854C2#4854C2

#4854C2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.0% C 0.171 H 273.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4854C2
RGBrgb(72, 84, 194)
HSLhsl(234, 50%, 52%)
HSVhsv(234, 63%, 76%)
CMYKcmyk(62.9%, 56.7%, 0%, 23.9%)
CIE-LABlab(40.59, 29.69, -59.21)
CIE-LCHlch(40.59, 66.23, 296.63°)
OKLaboklab(49.95% 0.0113 -0.1702)
OKLCHoklch(49.95% 0.171 273.8)
XYZxyz(15.5772, 11.6121, 52.4490)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854C2 #C2B648
analogous
#4891C2 #4854C2 #7948C2
triadic
#4854C2 #C24854 #54C248
tetradic
#4854C2 #C24891 #C2B648 #48C279
square
#4854C2 #C24891 #C2B648 #48C279
split-complementary
#4854C2 #C27948 #91C248
monochromatic
#242B6C #333D9A #4854C2 #767FD1 #A4AAE1

Accessibility & contrast

On white

6.32
#4854C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4854C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854C2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854C2#FFFFFF#000000##FFFFFF
##4854C21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4854c2;
/* rgb */ color: rgb(72, 84, 194);
/* oklch */ color: oklch(50.0% 0.171 273.8);
Tailwind
colors: {
  custom: {
    50: '#8784d5',
    500: '#4854c2',
    950: '#000000',
  },
}
SCSS
$custom: #4854c2;
$custom-light: #8784d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4854c2",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 234.098,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49951,
    "c": 0.17053,
    "h": 273.8
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#4854C2
secondary
#CEC898
accent
#CC4EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4854C2

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

Preview Lab → · Contrast checker → · Palette generator →

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