#4855CB#4855CB

#4855CB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.8% C 0.181 H 273.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4855CB
RGBrgb(72, 85, 203)
HSLhsl(234, 56%, 54%)
HSVhsv(234, 65%, 80%)
CMYKcmyk(64.5%, 58.1%, 0%, 20.4%)
CIE-LABlab(41.51, 32.15, -62.94)
CIE-LCHlch(41.51, 70.67, 297.06°)
OKLaboklab(50.84% 0.0105 -0.1811)
OKLCHoklch(50.84% 0.181 273.3)
XYZxyz(16.6969, 12.1851, 57.9604)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4855CB #CBBE48
analogous
#4897CB #4855CB #7D48CB
triadic
#4855CB #CB4855 #55CB48
tetradic
#4855CB #CB4897 #CBBE48 #48CB7D
square
#4855CB #CB4897 #CBBE48 #48CB7D
split-complementary
#4855CB #CB7D48 #97CB48
monochromatic
#222A77 #2F3BA6 #4855CB #7881D9 #A7AEE6

Accessibility & contrast

On white

6.11
#4855CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4855CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4855CB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4855CB#FFFFFF#000000##FFFFFF
##4855CB1.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)
#0068CF
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4855cb;
/* rgb */ color: rgb(72, 85, 203);
/* oklch */ color: oklch(50.8% 0.181 273.3);
Tailwind
colors: {
  custom: {
    50: '#8984dc',
    500: '#4855cb',
    950: '#000000',
  },
}
SCSS
$custom: #4855cb;
$custom-light: #8984dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4855cb",
  "rgb": {
    "r": 72,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 234.046,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50843,
    "c": 0.18142,
    "h": 273.3
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#4855CB
secondary
#D3CE9B
accent
#D049DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4855CB

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

Preview Lab → · Contrast checker → · Palette generator →

#4855CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva