#5555CB#5555CB

#5555CB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.7% C 0.178 H 278.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5555CB
RGBrgb(85, 85, 203)
HSLhsl(240, 53%, 56%)
HSVhsv(240, 58%, 80%)
CMYKcmyk(58.1%, 58.1%, 0%, 20.4%)
CIE-LABlab(42.37, 34.33, -61.50)
CIE-LCHlch(42.37, 70.43, 299.17°)
OKLaboklab(51.7% 0.0253 -0.1766)
OKLCHoklch(51.7% 0.178 278.2)
XYZxyz(17.7709, 12.7388, 58.0107)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5555CB #CBCB55
analogous
#5590CB #5555CB #9055CB
triadic
#5555CB #CB5555 #55CB55
tetradic
#5555CB #CB5590 #CBCB55 #55CB90
square
#5555CB #CB5590 #CBCB55 #55CB90
split-complementary
#5555CB #CB9055 #90CB55
monochromatic
#27277F #3535AE #5555CB #8484D9 #B3B3E8

Accessibility & contrast

On white

5.92
#5555CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5555CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5555CB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5555CB#FFFFFF#000000##FFFFFF
##5555CB1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#017188
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5555cb;
/* rgb */ color: rgb(85, 85, 203);
/* oklch */ color: oklch(51.7% 0.178 278.2);
Tailwind
colors: {
  custom: {
    50: '#9085dc',
    500: '#5555cb',
    950: '#000000',
  },
}
SCSS
$custom: #5555cb;
$custom-light: #9085dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5555cb",
  "rgb": {
    "r": 85,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 240,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51702,
    "c": 0.17837,
    "h": 278.2
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#5555CB
secondary
#D6D6A6
accent
#DD4BDD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5555CB

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

Preview Lab → · Contrast checker → · Palette generator →

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