#4854CB#4854CB

#4854CB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.183 H 273.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4854CB
RGBrgb(72, 84, 203)
HSLhsl(235, 56%, 54%)
HSVhsv(235, 65%, 80%)
CMYKcmyk(64.5%, 58.6%, 0%, 20.4%)
CIE-LABlab(41.26, 32.77, -63.34)
CIE-LCHlch(41.26, 71.31, 297.36°)
OKLaboklab(50.66% 0.0114 -0.1823)
OKLCHoklch(50.66% 0.183 273.6)
XYZxyz(16.6187, 12.0287, 57.9343)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854CB #CBBF48
analogous
#4896CB #4854CB #7E48CB
triadic
#4854CB #CB4854 #54CB48
tetradic
#4854CB #CB4896 #CBBF48 #48CB7E
square
#4854CB #CB4896 #CBBF48 #48CB7E
split-complementary
#4854CB #CB7E48 #96CB48
monochromatic
#222A77 #2F3AA6 #4854CB #7881D9 #A7ADE6

Accessibility & contrast

On white

6.17
#4854CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4854CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854CB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854CB#FFFFFF#000000##FFFFFF
##4854CB1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4854cb;
/* rgb */ color: rgb(72, 84, 203);
/* oklch */ color: oklch(50.7% 0.183 273.6);
Tailwind
colors: {
  custom: {
    50: '#8984dc',
    500: '#4854cb',
    950: '#000000',
  },
}
SCSS
$custom: #4854cb;
$custom-light: #8984dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4854cb",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 234.504,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50659,
    "c": 0.18266,
    "h": 273.6
  },
  "luminance": 0.1203
}

Semantic roles & 50–950 ramp

primary
#4854CB
secondary
#D3CE9B
accent
#D149DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4854CB

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

Preview Lab → · Contrast checker → · Palette generator →

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