#4854CD#4854CD

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

Color values

HEX#4854CD
RGBrgb(72, 84, 205)
HSLhsl(235, 57%, 54%)
HSVhsv(235, 65%, 80%)
CMYKcmyk(64.9%, 59%, 0%, 19.6%)
CIE-LABlab(41.41, 33.46, -64.25)
CIE-LCHlch(41.41, 72.44, 297.51°)
OKLaboklab(50.82% 0.0113 -0.185)
OKLCHoklch(50.82% 0.185 273.5)
XYZxyz(16.8586, 12.1247, 59.1976)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854CD #CDC148
analogous
#4897CD #4854CD #7E48CD
triadic
#4854CD #CD4854 #54CD48
tetradic
#4854CD #CD4897 #CDC148 #48CD7E
square
#4854CD #CD4897 #CDC148 #48CD7E
split-complementary
#4854CD #CD7E48 #97CD48
monochromatic
#212979 #2E39A9 #4854CD #7881DA #A8AEE7

Accessibility & contrast

On white

6.13
#4854CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4854CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854CD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854CD#FFFFFF#000000##FFFFFF
##4854CD1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4854cd;
/* rgb */ color: rgb(72, 84, 205);
/* oklch */ color: oklch(50.8% 0.185 273.5);
Tailwind
colors: {
  custom: {
    50: '#8984dd',
    500: '#4854cd',
    950: '#000000',
  },
}
SCSS
$custom: #4854cd;
$custom-light: #8984dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4854cd",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 234.586,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5082,
    "c": 0.18533,
    "h": 273.5
  },
  "luminance": 0.12126
}

Semantic roles & 50–950 ramp

primary
#4854CD
secondary
#D5D09C
accent
#D347E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4854CD

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

Preview Lab → · Contrast checker → · Palette generator →

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