#5555CA#5555CA

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

Color values

HEX#5555CA
RGBrgb(85, 85, 202)
HSLhsl(240, 52%, 56%)
HSVhsv(240, 58%, 79%)
CMYKcmyk(57.9%, 57.9%, 0%, 20.8%)
CIE-LABlab(42.29, 34.00, -61.04)
CIE-LCHlch(42.29, 69.87, 299.12°)
OKLaboklab(51.63% 0.0253 -0.1752)
OKLCHoklch(51.63% 0.177 278.2)
XYZxyz(17.6521, 12.6913, 57.3851)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5555CA #CACA55
analogous
#5590CA #5555CA #9055CA
triadic
#5555CA #CA5555 #55CA55
tetradic
#5555CA #CA5590 #CACA55 #55CA90
square
#5555CA #CA5590 #CACA55 #55CA90
split-complementary
#5555CA #CA9055 #90CA55
monochromatic
#27277D #3636AC #5555CA #8484D9 #B2B2E7

Accessibility & contrast

On white

5.93
#5555CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5555CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5555CA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5555CA#FFFFFF#000000##FFFFFF
##5555CA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#057187
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5555ca;
/* rgb */ color: rgb(85, 85, 202);
/* oklch */ color: oklch(51.6% 0.177 278.2);
Tailwind
colors: {
  custom: {
    50: '#8f85db',
    500: '#5555ca',
    950: '#000000',
  },
}
SCSS
$custom: #5555ca;
$custom-light: #8f85db;
$custom-dark: #000000;
JSON
{
  "hex": "#5555ca",
  "rgb": {
    "r": 85,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51626,
    "c": 0.17704,
    "h": 278.2
  },
  "luminance": 0.12693
}

Semantic roles & 50–950 ramp

primary
#5555CA
secondary
#D5D5A5
accent
#DC4CDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5555CA

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

Preview Lab → · Contrast checker → · Palette generator →

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