#5555DB#5555DB

#5555DB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 53.0% C 0.199 H 277.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5555DB
RGBrgb(85, 85, 219)
HSLhsl(240, 65%, 60%)
HSVhsv(240, 61%, 86%)
CMYKcmyk(61.2%, 61.2%, 0%, 14.1%)
CIE-LABlab(43.57, 39.53, -68.73)
CIE-LCHlch(43.57, 79.29, 299.90°)
OKLaboklab(52.96% 0.0248 -0.1978)
OKLCHoklch(52.96% 0.199 277.2)
XYZxyz(19.7769, 13.5412, 68.5756)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5555DB #DBDB55
analogous
#5598DB #5555DB #9855DB
triadic
#5555DB #DB5555 #55DB55
tetradic
#5555DB #DB5598 #DBDB55 #55DB98
square
#5555DB #DB5598 #DBDB55 #55DB98
split-complementary
#5555DB #DB9855 #98DB55
monochromatic
#202096 #2A2AC8 #5555DB #8888E6 #BABAF0

Accessibility & contrast

On white

5.66
#5555DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5555DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5555DB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5555DB#FFFFFF#000000##FFFFFF
##5555DB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5555db;
/* rgb */ color: rgb(85, 85, 219);
/* oklch */ color: oklch(53.0% 0.199 277.2);
Tailwind
colors: {
  custom: {
    50: '#9285e7',
    500: '#5555db',
    950: '#000000',
  },
}
SCSS
$custom: #5555db;
$custom-light: #9285e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5555db",
  "rgb": {
    "r": 85,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 240,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52964,
    "c": 0.19937,
    "h": 277.2
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#5555DB
secondary
#E0E0AC
accent
#E840E8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5555DB

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

Preview Lab → · Contrast checker → · Palette generator →

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