#5E55CC#5E55CC

#5E55CC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.178 H 281.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5E55CC
RGBrgb(94, 85, 204)
HSLhsl(245, 54%, 57%)
HSVhsv(245, 58%, 80%)
CMYKcmyk(53.9%, 58.3%, 0%, 20%)
CIE-LABlab(43.12, 36.31, -60.83)
CIE-LCHlch(43.12, 70.85, 300.83°)
OKLaboklab(52.45% 0.0362 -0.1743)
OKLCHoklch(52.45% 0.178 281.7)
XYZxyz(18.7603, 13.2352, 58.6811)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E55CC #C3CC55
analogous
#5588CC #5E55CC #9A55CC
triadic
#5E55CC #CC5E55 #55CC5E
tetradic
#5E55CC #CC5588 #C3CC55 #55CC9A
square
#5E55CC #CC5588 #C3CC55 #55CC9A
split-complementary
#5E55CC #CC9A55 #88CC55
monochromatic
#2D2680 #3E35AF #5E55CC #8B84DA #B7B3E8

Accessibility & contrast

On white

5.76
#5E55CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5E55CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E55CC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E55CC#FFFFFF#000000##FFFFFF
##5E55CC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#2C7188
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e55cc;
/* rgb */ color: rgb(94, 85, 204);
/* oklch */ color: oklch(52.4% 0.178 281.7);
Tailwind
colors: {
  custom: {
    50: '#9585dc',
    500: '#5e55cc',
    950: '#000000',
  },
}
SCSS
$custom: #5e55cc;
$custom-light: #9585dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e55cc",
  "rgb": {
    "r": 94,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 244.538,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5245,
    "c": 0.17807,
    "h": 281.7
  },
  "luminance": 0.13236
}

Semantic roles & 50–950 ramp

primary
#5E55CC
secondary
#D3D7A6
accent
#DD4BD2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E55CC

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

Preview Lab → · Contrast checker → · Palette generator →

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