#5358C7#5358C7

#5358C7 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.170 H 276.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5358C7
RGBrgb(83, 88, 199)
HSLhsl(237, 51%, 55%)
HSVhsv(237, 58%, 78%)
CMYKcmyk(58.3%, 55.8%, 0%, 22%)
CIE-LABlab(42.67, 30.80, -58.70)
CIE-LCHlch(42.67, 66.29, 297.68°)
OKLaboklab(51.8% 0.02 -0.1684)
OKLCHoklch(51.8% 0.17 276.8)
XYZxyz(17.3625, 12.9407, 55.6046)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5358C7 #C7C253
analogous
#5392C7 #5358C7 #8853C7
triadic
#5358C7 #C75358 #58C753
tetradic
#5358C7 #C75392 #C7C253 #53C788
square
#5358C7 #C75392 #C7C253 #53C788
split-complementary
#5358C7 #C78853 #92C753
monochromatic
#272B78 #363BA7 #5358C7 #8185D6 #AFB2E5

Accessibility & contrast

On white

5.85
#5358C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5358C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5358C7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5358C7#FFFFFF#000000##FFFFFF
##5358C71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5358c7;
/* rgb */ color: rgb(83, 88, 199);
/* oklch */ color: oklch(51.8% 0.170 276.8);
Tailwind
colors: {
  custom: {
    50: '#8e87d9',
    500: '#5358c7',
    950: '#000000',
  },
}
SCSS
$custom: #5358c7;
$custom-light: #8e87d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5358c7",
  "rgb": {
    "r": 83,
    "g": 88,
    "b": 199
  },
  "hsl": {
    "h": 237.414,
    "s": 50.877,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51804,
    "c": 0.16954,
    "h": 276.8
  },
  "luminance": 0.12942
}

Semantic roles & 50–950 ramp

primary
#5358C7
secondary
#D3D1A3
accent
#D44DDA
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5358C7

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

Preview Lab → · Contrast checker → · Palette generator →

#5358C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva