#4854CC#4854CC

#4854CC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.184 H 273.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4854CC
RGBrgb(72, 84, 204)
HSLhsl(235, 56%, 54%)
HSVhsv(235, 65%, 80%)
CMYKcmyk(64.7%, 58.8%, 0%, 20%)
CIE-LABlab(41.34, 33.12, -63.79)
CIE-LCHlch(41.34, 71.88, 297.43°)
OKLaboklab(50.74% 0.0114 -0.1836)
OKLCHoklch(50.74% 0.184 273.5)
XYZxyz(16.7383, 12.0765, 58.5640)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854CC #CCC048
analogous
#4896CC #4854CC #7E48CC
triadic
#4854CC #CC4854 #54CC48
tetradic
#4854CC #CC4896 #CCC048 #48CC7E
square
#4854CC #CC4896 #CCC048 #48CC7E
split-complementary
#4854CC #CC7E48 #96CC48
monochromatic
#212978 #2F3AA8 #4854CC #7881D9 #A8ADE7

Accessibility & contrast

On white

6.15
#4854CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4854CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854CC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854CC#FFFFFF#000000##FFFFFF
##4854CC1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4854cc;
/* rgb */ color: rgb(72, 84, 204);
/* oklch */ color: oklch(50.7% 0.184 273.5);
Tailwind
colors: {
  custom: {
    50: '#8984dc',
    500: '#4854cc',
    950: '#000000',
  },
}
SCSS
$custom: #4854cc;
$custom-light: #8984dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4854cc",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 234.545,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50739,
    "c": 0.184,
    "h": 273.5
  },
  "luminance": 0.12078
}

Semantic roles & 50–950 ramp

primary
#4854CC
secondary
#D4CF9C
accent
#D248E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4854CC

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

Preview Lab → · Contrast checker → · Palette generator →

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