#5559BA#5559BA

#5559BA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.150 H 277.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5559BA
RGBrgb(85, 89, 186)
HSLhsl(238, 42%, 53%)
HSVhsv(238, 54%, 73%)
CMYKcmyk(54.3%, 52.2%, 0%, 27.1%)
CIE-LABlab(42.19, 26.30, -51.93)
CIE-LCHlch(42.19, 58.21, 296.86°)
OKLaboklab(51.19% 0.0206 -0.1484)
OKLCHoklch(51.19% 0.15 277.9)
XYZxyz(16.1788, 12.6202, 48.0283)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5559BA #BAB655
analogous
#558BBA #5559BA #8355BA
triadic
#5559BA #BA5559 #59BA55
tetradic
#5559BA #BA558B #BAB655 #55BA83
square
#5559BA #BA558B #BAB655 #55BA83
split-complementary
#5559BA #BA8355 #8BBA55
monochromatic
#2B2D6A #3D4095 #5559BA #8184CC #ACAEDD

Accessibility & contrast

On white

5.96
#5559BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5559BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5559BA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5559BA#FFFFFF#000000##FFFFFF
##5559BA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BD
Deuteranopia (green-blind)
#1560B8
Tritanopia (blue-blind)
#256F81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5559ba;
/* rgb */ color: rgb(85, 89, 186);
/* oklch */ color: oklch(51.2% 0.150 277.9);
Tailwind
colors: {
  custom: {
    50: '#8d87cf',
    500: '#5559ba',
    950: '#000000',
  },
}
SCSS
$custom: #5559ba;
$custom-light: #8d87cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5559ba",
  "rgb": {
    "r": 85,
    "g": 89,
    "b": 186
  },
  "hsl": {
    "h": 237.624,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51194,
    "c": 0.14979,
    "h": 277.9
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

primary
#5559BA
secondary
#CBC9A0
accent
#CD56D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5559BA

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

Preview Lab → · Contrast checker → · Palette generator →

#5559BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva