#5555CF#5555CF

#5555CF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.0% C 0.184 H 277.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5555CF
RGBrgb(85, 85, 207)
HSLhsl(240, 56%, 57%)
HSVhsv(240, 59%, 81%)
CMYKcmyk(58.9%, 58.9%, 0%, 18.8%)
CIE-LABlab(42.66, 35.63, -63.33)
CIE-LCHlch(42.66, 72.67, 299.36°)
OKLaboklab(52.01% 0.0252 -0.1819)
OKLCHoklch(52.01% 0.184 277.9)
XYZxyz(18.2537, 12.9320, 60.5536)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5555CF #CFCF55
analogous
#5592CF #5555CF #9255CF
triadic
#5555CF #CF5555 #55CF55
tetradic
#5555CF #CF5592 #CFCF55 #55CF92
square
#5555CF #CF5592 #CFCF55 #55CF92
split-complementary
#5555CF #CF9255 #92CF55
monochromatic
#252584 #3333B4 #5555CF #8585DC #B4B4EA

Accessibility & contrast

On white

5.86
#5555CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5555CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5555CF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5555CF#FFFFFF#000000##FFFFFF
##5555CF1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5555cf;
/* rgb */ color: rgb(85, 85, 207);
/* oklch */ color: oklch(52.0% 0.184 277.9);
Tailwind
colors: {
  custom: {
    50: '#9085df',
    500: '#5555cf',
    950: '#000000',
  },
}
SCSS
$custom: #5555cf;
$custom-light: #9085df;
$custom-dark: #000000;
JSON
{
  "hex": "#5555cf",
  "rgb": {
    "r": 85,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 240,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.18369,
    "h": 277.9
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#5555CF
secondary
#D9D9A7
accent
#DF49DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5555CF

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

Preview Lab → · Contrast checker → · Palette generator →

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