#4854DB#4854DB

#4854DB is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.0% C 0.204 H 273.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4854DB
RGBrgb(72, 84, 219)
HSLhsl(235, 67%, 57%)
HSVhsv(235, 67%, 86%)
CMYKcmyk(67.1%, 61.6%, 0%, 14.1%)
CIE-LABlab(42.51, 38.23, -70.50)
CIE-LCHlch(42.51, 80.19, 298.47°)
OKLaboklab(51.97% 0.011 -0.2033)
OKLCHoklch(51.97% 0.204 273.1)
XYZxyz(18.6247, 12.8311, 68.4992)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854DB #DBCF48
analogous
#489EDB #4854DB #8648DB
triadic
#4854DB #DB4854 #54DB48
tetradic
#4854DB #DB489E #DBCF48 #48DB86
square
#4854DB #DB489E #DBCF48 #48DB86
split-complementary
#4854DB #DB8648 #9EDB48
monochromatic
#1C258D #2632C0 #4854DB #7B84E5 #AEB4EF

Accessibility & contrast

On white

5.89
#4854DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4854DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854DB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854DB#FFFFFF#000000##FFFFFF
##4854DB1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4854db;
/* rgb */ color: rgb(72, 84, 219);
/* oklch */ color: oklch(52.0% 0.204 273.1);
Tailwind
colors: {
  custom: {
    50: '#8c84e7',
    500: '#4854db',
    950: '#000000',
  },
}
SCSS
$custom: #4854db;
$custom-light: #8c84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4854db",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 235.102,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51969,
    "c": 0.20364,
    "h": 273.1
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#4854DB
secondary
#DDD8A2
accent
#DC3EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4854DB

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

Preview Lab → · Contrast checker → · Palette generator →

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