#5555CD#5555CD

#5555CD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.9% C 0.181 H 278.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5555CD
RGBrgb(85, 85, 205)
HSLhsl(240, 55%, 57%)
HSVhsv(240, 59%, 80%)
CMYKcmyk(58.5%, 58.5%, 0%, 19.6%)
CIE-LABlab(42.51, 34.98, -62.42)
CIE-LCHlch(42.51, 71.55, 299.26°)
OKLaboklab(51.86% 0.0253 -0.1793)
OKLCHoklch(51.86% 0.181 278)
XYZxyz(18.0107, 12.8348, 59.2740)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5555CD #CDCD55
analogous
#5591CD #5555CD #9155CD
triadic
#5555CD #CD5555 #55CD55
tetradic
#5555CD #CD5591 #CDCD55 #55CD91
square
#5555CD #CD5591 #CDCD55 #55CD91
split-complementary
#5555CD #CD9155 #91CD55
monochromatic
#262682 #3434B1 #5555CD #8484DB #B4B4E9

Accessibility & contrast

On white

5.89
#5555CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5555CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5555CD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5555CD#FFFFFF#000000##FFFFFF
##5555CD1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5555cd;
/* rgb */ color: rgb(85, 85, 205);
/* oklch */ color: oklch(51.9% 0.181 278.0);
Tailwind
colors: {
  custom: {
    50: '#9085dd',
    500: '#5555cd',
    950: '#000000',
  },
}
SCSS
$custom: #5555cd;
$custom-light: #9085dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5555cd",
  "rgb": {
    "r": 85,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51857,
    "c": 0.18104,
    "h": 278
  },
  "luminance": 0.12836
}

Semantic roles & 50–950 ramp

primary
#5555CD
secondary
#D7D7A6
accent
#DE4ADE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5555CD

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

Preview Lab → · Contrast checker → · Palette generator →

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