#5055D2#5055D2

#5055D2 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.189 H 275.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5055D2
RGBrgb(80, 85, 210)
HSLhsl(238, 59%, 57%)
HSVhsv(238, 62%, 82%)
CMYKcmyk(61.9%, 59.5%, 0%, 17.6%)
CIE-LABlab(42.54, 35.78, -65.26)
CIE-LCHlch(42.54, 74.43, 298.73°)
OKLaboklab(51.91% 0.0194 -0.1878)
OKLCHoklch(51.91% 0.189 275.9)
XYZxyz(18.1858, 12.8542, 62.4830)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5055D2 #D2CD50
analogous
#5096D2 #5055D2 #8C50D2
triadic
#5055D2 #D25055 #55D250
tetradic
#5055D2 #D25096 #D2CD50 #50D28C
square
#5055D2 #D25096 #D2CD50 #50D28C
split-complementary
#5055D2 #D28C50 #96D250
monochromatic
#222685 #2F34B6 #5055D2 #8184DF #B1B4EB

Accessibility & contrast

On white

5.88
#5055D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5055D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5055D2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5055D2#FFFFFF#000000##FFFFFF
##5055D21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5055d2;
/* rgb */ color: rgb(80, 85, 210);
/* oklch */ color: oklch(51.9% 0.189 275.9);
Tailwind
colors: {
  custom: {
    50: '#8e85e1',
    500: '#5055d2',
    950: '#000000',
  },
}
SCSS
$custom: #5055d2;
$custom-light: #8e85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5055d2",
  "rgb": {
    "r": 80,
    "g": 85,
    "b": 210
  },
  "hsl": {
    "h": 237.692,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51907,
    "c": 0.18875,
    "h": 275.9
  },
  "luminance": 0.12856
}

Semantic roles & 50–950 ramp

primary
#5055D2
secondary
#D9D7A4
accent
#DC46E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5055D2

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

Preview Lab → · Contrast checker → · Palette generator →

#5055D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva