#4854D2#4854D2

#4854D2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.2% C 0.192 H 273.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4854D2
RGBrgb(72, 84, 210)
HSLhsl(235, 61%, 55%)
HSVhsv(235, 66%, 82%)
CMYKcmyk(65.7%, 60%, 0%, 17.6%)
CIE-LABlab(41.80, 35.17, -66.50)
CIE-LCHlch(41.80, 75.22, 297.87°)
OKLaboklab(51.23% 0.0113 -0.1916)
OKLCHoklch(51.23% 0.192 273.4)
XYZxyz(17.4718, 12.3699, 62.4272)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854D2 #D2C648
analogous
#4899D2 #4854D2 #8148D2
triadic
#4854D2 #D24854 #54D248
tetradic
#4854D2 #D24899 #D2C648 #48D281
square
#4854D2 #D24899 #D2C648 #48D281
split-complementary
#4854D2 #D28148 #99D248
monochromatic
#202880 #2C37B1 #4854D2 #7982DE #AAB0EA

Accessibility & contrast

On white

6.04
#4854D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4854D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854D2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854D2#FFFFFF#000000##FFFFFF
##4854D21.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#005DD0
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4854d2;
/* rgb */ color: rgb(72, 84, 210);
/* oklch */ color: oklch(51.2% 0.192 273.4);
Tailwind
colors: {
  custom: {
    50: '#8a84e1',
    500: '#4854d2',
    950: '#000000',
  },
}
SCSS
$custom: #4854d2;
$custom-light: #8a84e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4854d2",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 234.783,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51225,
    "c": 0.19193,
    "h": 273.4
  },
  "luminance": 0.12372
}

Semantic roles & 50–950 ramp

primary
#4854D2
secondary
#D8D39E
accent
#D644E4
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4854D2

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

Preview Lab → · Contrast checker → · Palette generator →

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