#4854D6#4854D6

#4854D6 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.197 H 273.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4854D6
RGBrgb(72, 84, 214)
HSLhsl(235, 63%, 56%)
HSVhsv(235, 66%, 84%)
CMYKcmyk(66.4%, 60.7%, 0%, 16.1%)
CIE-LABlab(42.11, 36.53, -68.28)
CIE-LCHlch(42.11, 77.44, 298.14°)
OKLaboklab(51.55% 0.0112 -0.1968)
OKLCHoklch(51.55% 0.197 273.2)
XYZxyz(17.9764, 12.5718, 65.0845)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854D6 #D6CA48
analogous
#489BD6 #4854D6 #8348D6
triadic
#4854D6 #D64854 #54D648
tetradic
#4854D6 #D6489B #D6CA48 #48D683
square
#4854D6 #D6489B #D6CA48 #48D683
split-complementary
#4854D6 #D68348 #9BD648
monochromatic
#1E2786 #2935B8 #4854D6 #7A83E1 #ACB1EC

Accessibility & contrast

On white

5.98
#4854D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4854D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854D6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854D6#FFFFFF#000000##FFFFFF
##4854D61.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4854d6;
/* rgb */ color: rgb(72, 84, 214);
/* oklch */ color: oklch(51.6% 0.197 273.2);
Tailwind
colors: {
  custom: {
    50: '#8b84e4',
    500: '#4854d6',
    950: '#000000',
  },
}
SCSS
$custom: #4854d6;
$custom-light: #8b84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4854d6",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 234.93,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51553,
    "c": 0.19717,
    "h": 273.2
  },
  "luminance": 0.12573
}

Semantic roles & 50–950 ramp

primary
#4854D6
secondary
#DAD5A0
accent
#D841E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4854D6

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

Preview Lab → · Contrast checker → · Palette generator →

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