#4955CF#4955CF

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

Color values

HEX#4955CF
RGBrgb(73, 85, 207)
HSLhsl(235, 58%, 55%)
HSVhsv(235, 65%, 81%)
CMYKcmyk(64.7%, 58.9%, 0%, 18.8%)
CIE-LABlab(41.87, 33.67, -64.65)
CIE-LCHlch(41.87, 72.89, 297.51°)
OKLaboklab(51.22% 0.0116 -0.1861)
OKLCHoklch(51.22% 0.187 273.6)
XYZxyz(17.2549, 12.4170, 60.5068)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4955CF #CFC349
analogous
#4998CF #4955CF #8049CF
triadic
#4955CF #CF4955 #55CF49
tetradic
#4955CF #CF4998 #CFC349 #49CF80
square
#4955CF #CF4998 #CFC349 #49CF80
split-complementary
#4955CF #CF8049 #98CF49
monochromatic
#21297D #2E39AD #4955CF #7982DC #AAAFE9

Accessibility & contrast

On white

6.03
#4955CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4955CF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4955CF#FFFFFF#000000##FFFFFF
##4955CF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.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: #4955cf;
/* rgb */ color: rgb(73, 85, 207);
/* oklch */ color: oklch(51.2% 0.186 273.6);
Tailwind
colors: {
  custom: {
    50: '#8a84df',
    500: '#4955cf',
    950: '#000000',
  },
}
SCSS
$custom: #4955cf;
$custom-light: #8a84df;
$custom-dark: #000000;
JSON
{
  "hex": "#4955cf",
  "rgb": {
    "r": 73,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 234.627,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51223,
    "c": 0.1865,
    "h": 273.6
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#4955CF
secondary
#D6D19E
accent
#D446E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4955CF

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

Preview Lab → · Contrast checker → · Palette generator →

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