#4854C8#4854C8

#4854C8 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.4% C 0.179 H 273.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4854C8
RGBrgb(72, 84, 200)
HSLhsl(234, 54%, 53%)
HSVhsv(234, 64%, 78%)
CMYKcmyk(64%, 58%, 0%, 21.6%)
CIE-LABlab(41.04, 31.75, -61.97)
CIE-LCHlch(41.04, 69.63, 297.13°)
OKLaboklab(50.42% 0.0114 -0.1783)
OKLCHoklch(50.42% 0.179 273.6)
XYZxyz(16.2647, 11.8871, 56.0697)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854C8 #C8BC48
analogous
#4894C8 #4854C8 #7C48C8
triadic
#4854C8 #C84854 #54C848
tetradic
#4854C8 #C84894 #C8BC48 #48C87C
square
#4854C8 #C84894 #C8BC48 #48C87C
split-complementary
#4854C8 #C87C48 #94C848
monochromatic
#232A73 #313BA2 #4854C8 #7780D6 #A6ACE4

Accessibility & contrast

On white

6.22
#4854C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4854C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854C8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854C8#FFFFFF#000000##FFFFFF
##4854C81.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4854c8;
/* rgb */ color: rgb(72, 84, 200);
/* oklch */ color: oklch(50.4% 0.179 273.6);
Tailwind
colors: {
  custom: {
    50: '#8984da',
    500: '#4854c8',
    950: '#000000',
  },
}
SCSS
$custom: #4854c8;
$custom-light: #8984da;
$custom-dark: #000000;
JSON
{
  "hex": "#4854c8",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 234.375,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50421,
    "c": 0.17865,
    "h": 273.6
  },
  "luminance": 0.11888
}

Semantic roles & 50–950 ramp

primary
#4854C8
secondary
#D1CC9A
accent
#CF4BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4854C8

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

Preview Lab → · Contrast checker → · Palette generator →

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