#5355CC#5355CC

#5355CC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.6% C 0.180 H 277.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5355CC
RGBrgb(83, 85, 204)
HSLhsl(239, 54%, 56%)
HSVhsv(239, 59%, 80%)
CMYKcmyk(59.3%, 58.3%, 0%, 20%)
CIE-LABlab(42.30, 34.30, -62.20)
CIE-LCHlch(42.30, 71.03, 298.88°)
OKLaboklab(51.64% 0.0229 -0.1787)
OKLCHoklch(51.64% 0.18 277.3)
XYZxyz(17.7114, 12.6943, 58.6320)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5355CC #CCCA53
analogous
#5392CC #5355CC #8E53CC
triadic
#5355CC #CC5355 #55CC53
tetradic
#5355CC #CC5392 #CCCA53 #53CC8E
square
#5355CC #CC5392 #CCCA53 #53CC8E
split-complementary
#5355CC #CC8E53 #92CC53
monochromatic
#26277F #3436AE #5355CC #8284DA #B1B2E8

Accessibility & contrast

On white

5.93
#5355CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5355CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5355CC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5355CC#FFFFFF#000000##FFFFFF
##5355CC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5355cc;
/* rgb */ color: rgb(83, 85, 204);
/* oklch */ color: oklch(51.6% 0.180 277.3);
Tailwind
colors: {
  custom: {
    50: '#8f85dc',
    500: '#5355cc',
    950: '#000000',
  },
}
SCSS
$custom: #5355cc;
$custom-light: #8f85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5355cc",
  "rgb": {
    "r": 83,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 239.008,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51639,
    "c": 0.18014,
    "h": 277.3
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#5355CC
secondary
#D6D5A4
accent
#DB4ADE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5355CC

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

Preview Lab → · Contrast checker → · Palette generator →

#5355CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva