#4854CA#4854CA

#4854CA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.6% C 0.181 H 273.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4854CA
RGBrgb(72, 84, 202)
HSLhsl(234, 55%, 54%)
HSVhsv(234, 64%, 79%)
CMYKcmyk(64.4%, 58.4%, 0%, 20.8%)
CIE-LABlab(41.19, 32.43, -62.88)
CIE-LCHlch(41.19, 70.75, 297.28°)
OKLaboklab(50.58% 0.0114 -0.181)
OKLCHoklch(50.58% 0.181 273.6)
XYZxyz(16.4999, 11.9812, 57.3087)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4854CA #CABE48
analogous
#4895CA #4854CA #7D48CA
triadic
#4854CA #CA4854 #54CA48
tetradic
#4854CA #CA4895 #CABE48 #48CA7D
square
#4854CA #CA4895 #CABE48 #48CA7D
split-complementary
#4854CA #CA7D48 #95CA48
monochromatic
#222A76 #303BA5 #4854CA #7780D8 #A7ADE5

Accessibility & contrast

On white

6.18
#4854CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4854CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4854CA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4854CA#FFFFFF#000000##FFFFFF
##4854CA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4854ca;
/* rgb */ color: rgb(72, 84, 202);
/* oklch */ color: oklch(50.6% 0.181 273.6);
Tailwind
colors: {
  custom: {
    50: '#8984db',
    500: '#4854ca',
    950: '#000000',
  },
}
SCSS
$custom: #4854ca;
$custom-light: #8984db;
$custom-dark: #000000;
JSON
{
  "hex": "#4854ca",
  "rgb": {
    "r": 72,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 234.462,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5058,
    "c": 0.18134,
    "h": 273.6
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#4854CA
secondary
#D3CE9B
accent
#D149DE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4854CA

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

Preview Lab → · Contrast checker → · Palette generator →

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