#5A55BE#5A55BE

#5A55BE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.160 H 281.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5A55BE
RGBrgb(90, 85, 190)
HSLhsl(243, 45%, 54%)
HSVhsv(243, 55%, 75%)
CMYKcmyk(52.6%, 55.3%, 0%, 25.5%)
CIE-LABlab(41.83, 31.11, -54.82)
CIE-LCHlch(41.83, 63.03, 299.58°)
OKLaboklab(51.11% 0.0312 -0.1568)
OKLCHoklch(51.11% 0.16 281.3)
XYZxyz(16.7564, 12.3874, 50.2133)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55BE #B9BE55
analogous
#5585BE #5A55BE #8F55BE
triadic
#5A55BE #BE5A55 #55BE5A
tetradic
#5A55BE #BE5585 #B9BE55 #55BE8F
square
#5A55BE #BE5585 #B9BE55 #55BE8F
split-complementary
#5A55BE #BE8F55 #85BE55
monochromatic
#2D2A6E #403B9B #5A55BE #8581CF #B0AEE0

Accessibility & contrast

On white

6.04
#5A55BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5A55BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55BE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55BE#FFFFFF#000000##FFFFFF
##5A55BE1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1166C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#306D81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a55be;
/* rgb */ color: rgb(90, 85, 190);
/* oklch */ color: oklch(51.1% 0.160 281.3);
Tailwind
colors: {
  custom: {
    50: '#9085d2',
    500: '#5a55be',
    950: '#000000',
  },
}
SCSS
$custom: #5a55be;
$custom-light: #9085d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55be",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 242.857,
    "s": 44.681,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51105,
    "c": 0.15985,
    "h": 281.3
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#5A55BE
secondary
#CCCEA1
accent
#D453CE
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5A55BE

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

Preview Lab → · Contrast checker → · Palette generator →

#5A55BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva