#4854D4#4854D4

#4854D4 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.4% C 0.195 H 273.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4854D4
RGBrgb(72, 84, 212)
HSLhsl(235, 62%, 56%)
HSVhsv(235, 66%, 83%)
CMYKcmyk(66%, 60.4%, 0%, 16.9%)
CIE-LABlab(41.95, 35.85, -67.39)
CIE-LCHlch(41.95, 76.33, 298.01°)
OKLaboklab(51.39% 0.0112 -0.1942)
OKLCHoklch(51.39% 0.195 273.3)
XYZxyz(17.7225, 12.4702, 63.7476)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854D4 #D4C848
analogous
#489AD4 #4854D4 #8248D4
triadic
#4854D4 #D44854 #54D448
tetradic
#4854D4 #D4489A #D4C848 #48D482
square
#4854D4 #D4489A #D4C848 #48D482
split-complementary
#4854D4 #D48248 #9AD448
monochromatic
#1F2783 #2A36B4 #4854D4 #7A82E0 #ABB1EB

Accessibility & contrast

On white

6.01
#4854D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4854D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854D4
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854D4#FFFFFF#000000##FFFFFF
##4854D41.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#005DD1
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4854d4;
/* rgb */ color: rgb(72, 84, 212);
/* oklch */ color: oklch(51.4% 0.195 273.3);
Tailwind
colors: {
  custom: {
    50: '#8b84e2',
    500: '#4854d4',
    950: '#000000',
  },
}
SCSS
$custom: #4854d4;
$custom-light: #8b84e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4854d4",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 234.857,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.19455,
    "h": 273.3
  },
  "luminance": 0.12472
}

Semantic roles & 50–950 ramp

primary
#4854D4
secondary
#D9D49F
accent
#D743E5
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4854D4

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

Preview Lab → · Contrast checker → · Palette generator →

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