#4854CF#4854CF

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

Color values

HEX#4854CF
RGBrgb(72, 84, 207)
HSLhsl(235, 58%, 55%)
HSVhsv(235, 65%, 81%)
CMYKcmyk(65.2%, 59.4%, 0%, 18.8%)
CIE-LABlab(41.57, 34.14, -65.15)
CIE-LCHlch(41.57, 73.55, 297.66°)
OKLaboklab(50.98% 0.0113 -0.1876)
OKLCHoklch(50.98% 0.188 273.5)
XYZxyz(17.1015, 12.2218, 60.4772)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854CF #CFC348
analogous
#4897CF #4854CF #8048CF
triadic
#4854CF #CF4854 #54CF48
tetradic
#4854CF #CF4897 #CFC348 #48CF80
square
#4854CF #CF4897 #CFC348 #48CF80
split-complementary
#4854CF #CF8048 #97CF48
monochromatic
#21297C #2D39AD #4854CF #7881DC #A9AFE8

Accessibility & contrast

On white

6.10
#4854CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4854CF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854CF#FFFFFF#000000##FFFFFF
##4854CF1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4854cf;
/* rgb */ color: rgb(72, 84, 207);
/* oklch */ color: oklch(51.0% 0.188 273.5);
Tailwind
colors: {
  custom: {
    50: '#8a84df',
    500: '#4854cf',
    950: '#000000',
  },
}
SCSS
$custom: #4854cf;
$custom-light: #8a84df;
$custom-dark: #000000;
JSON
{
  "hex": "#4854cf",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 234.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50981,
    "c": 0.18798,
    "h": 273.5
  },
  "luminance": 0.12223
}

Semantic roles & 50–950 ramp

primary
#4854CF
secondary
#D6D19D
accent
#D446E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4854CF

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

Preview Lab → · Contrast checker → · Palette generator →

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