#4854DD#4854DD

#4854DD is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.1% C 0.206 H 273.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4854DD
RGBrgb(72, 84, 221)
HSLhsl(235, 69%, 57%)
HSVhsv(235, 67%, 87%)
CMYKcmyk(67.4%, 62%, 0%, 13.3%)
CIE-LABlab(42.67, 38.91, -71.37)
CIE-LCHlch(42.67, 81.29, 298.59°)
OKLaboklab(52.14% 0.0109 -0.2059)
OKLCHoklch(52.14% 0.206 273)
XYZxyz(18.8896, 12.9371, 69.8942)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854DD #DDD148
analogous
#489EDD #4854DD #8748DD
triadic
#4854DD #DD4854 #54DD48
tetradic
#4854DD #DD489E #DDD148 #48DD87
square
#4854DD #DD489E #DDD148 #48DD87
split-complementary
#4854DD #DD8748 #9EDD48
monochromatic
#1B2490 #2431C3 #4854DD #7C84E7 #AFB4F0

Accessibility & contrast

On white

5.85
#4854DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4854DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854DD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854DD#FFFFFF#000000##FFFFFF
##4854DD1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4854dd;
/* rgb */ color: rgb(72, 84, 221);
/* oklch */ color: oklch(52.1% 0.206 273.0);
Tailwind
colors: {
  custom: {
    50: '#8d84e9',
    500: '#4854dd',
    950: '#000000',
  },
}
SCSS
$custom: #4854dd;
$custom-light: #8d84e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4854dd",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 235.168,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52137,
    "c": 0.20621,
    "h": 273
  },
  "luminance": 0.12939
}

Semantic roles & 50–950 ramp

primary
#4854DD
secondary
#DEDAA2
accent
#DD3CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4854DD

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

Preview Lab → · Contrast checker → · Palette generator →

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