#5C58B8#5C58B8

#5C58B8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.147 H 281.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5C58B8
RGBrgb(92, 88, 184)
HSLhsl(243, 40%, 53%)
HSVhsv(243, 52%, 72%)
CMYKcmyk(50%, 52.2%, 0%, 27.8%)
CIE-LABlab(42.33, 27.80, -50.50)
CIE-LCHlch(42.33, 57.64, 298.83°)
OKLaboklab(51.39% 0.03 -0.144)
OKLCHoklch(51.39% 0.147 281.8)
XYZxyz(16.5525, 12.7146, 46.9201)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C58B8 #B4B858
analogous
#5884B8 #5C58B8 #8C58B8
triadic
#5C58B8 #B85C58 #58B85C
tetradic
#5C58B8 #B85884 #B4B858 #58B88C
square
#5C58B8 #B85884 #B4B858 #58B88C
split-complementary
#5C58B8 #B88C58 #84B858
monochromatic
#2F2D69 #423F94 #5C58B8 #8683CA #B0AEDD

Accessibility & contrast

On white

5.93
#5C58B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5C58B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C58B8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C58B8#FFFFFF#000000##FFFFFF
##5C58B81.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)
#2867BB
Deuteranopia (green-blind)
#1F61B6
Tritanopia (blue-blind)
#396D7F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5c58b8;
/* rgb */ color: rgb(92, 88, 184);
/* oklch */ color: oklch(51.4% 0.147 281.8);
Tailwind
colors: {
  custom: {
    50: '#9087ce',
    500: '#5c58b8',
    950: '#000000',
  },
}
SCSS
$custom: #5c58b8;
$custom-light: #9087ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5c58b8",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 184
  },
  "hsl": {
    "h": 242.5,
    "s": 40.336,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51394,
    "c": 0.14707,
    "h": 281.8
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

primary
#5C58B8
secondary
#C9CBA1
accent
#D058CB
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5C58B8

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

Preview Lab → · Contrast checker → · Palette generator →

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