#4855CF#4855CF

#4855CF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.2% C 0.187 H 273.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4855CF
RGBrgb(72, 85, 207)
HSLhsl(234, 58%, 55%)
HSVhsv(234, 65%, 81%)
CMYKcmyk(65.2%, 58.9%, 0%, 18.8%)
CIE-LABlab(41.81, 33.52, -64.75)
CIE-LCHlch(41.81, 72.91, 297.37°)
OKLaboklab(51.16% 0.0105 -0.1865)
OKLCHoklch(51.16% 0.187 273.2)
XYZxyz(17.1797, 12.3782, 60.5033)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4855CF #CFC248
analogous
#4899CF #4855CF #7E48CF
triadic
#4855CF #CF4855 #55CF48
tetradic
#4855CF #CF4899 #CFC248 #48CF7E
square
#4855CF #CF4899 #CFC248 #48CF7E
split-complementary
#4855CF #CF7E48 #99CF48
monochromatic
#21297C #2D3AAD #4855CF #7882DC #A9AFE8

Accessibility & contrast

On white

6.04
#4855CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4855CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4855CF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4855CF#FFFFFF#000000##FFFFFF
##4855CF1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4855cf;
/* rgb */ color: rgb(72, 85, 207);
/* oklch */ color: oklch(51.2% 0.187 273.2);
Tailwind
colors: {
  custom: {
    50: '#8a84df',
    500: '#4855cf',
    950: '#000000',
  },
}
SCSS
$custom: #4855cf;
$custom-light: #8a84df;
$custom-dark: #000000;
JSON
{
  "hex": "#4855cf",
  "rgb": {
    "r": 72,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 234.222,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51162,
    "c": 0.18675,
    "h": 273.2
  },
  "luminance": 0.1238
}

Semantic roles & 50–950 ramp

primary
#4855CF
secondary
#D6D09D
accent
#D346E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4855CF

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

Preview Lab → · Contrast checker → · Palette generator →

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