#4854CE#4854CE

#4854CE is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.187 H 273.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4854CE
RGBrgb(72, 84, 206)
HSLhsl(235, 58%, 55%)
HSVhsv(235, 65%, 81%)
CMYKcmyk(65%, 59.2%, 0%, 19.2%)
CIE-LABlab(41.49, 33.80, -64.70)
CIE-LCHlch(41.49, 72.99, 297.58°)
OKLaboklab(50.9% 0.0113 -0.1863)
OKLCHoklch(50.9% 0.187 273.5)
XYZxyz(16.9797, 12.1731, 59.8354)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854CE #CEC248
analogous
#4897CE #4854CE #7F48CE
triadic
#4854CE #CE4854 #54CE48
tetradic
#4854CE #CE4897 #CEC248 #48CE7F
square
#4854CE #CE4897 #CEC248 #48CE7F
split-complementary
#4854CE #CE7F48 #97CE48
monochromatic
#21297B #2E39AB #4854CE #7881DB #A9AEE8

Accessibility & contrast

On white

6.11
#4854CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4854CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854CE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854CE#FFFFFF#000000##FFFFFF
##4854CE1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4854ce;
/* rgb */ color: rgb(72, 84, 206);
/* oklch */ color: oklch(50.9% 0.187 273.5);
Tailwind
colors: {
  custom: {
    50: '#8a84de',
    500: '#4854ce',
    950: '#000000',
  },
}
SCSS
$custom: #4854ce;
$custom-light: #8a84de;
$custom-dark: #000000;
JSON
{
  "hex": "#4854ce",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 234.627,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.509,
    "c": 0.18665,
    "h": 273.5
  },
  "luminance": 0.12175
}

Semantic roles & 50–950 ramp

primary
#4854CE
secondary
#D5D09D
accent
#D347E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4854CE

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

Preview Lab → · Contrast checker → · Palette generator →

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