#5C58DF#5C58DF

#5C58DF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.3% C 0.199 H 278.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5C58DF
RGBrgb(92, 88, 223)
HSLhsl(242, 68%, 61%)
HSVhsv(242, 61%, 87%)
CMYKcmyk(58.7%, 60.5%, 0%, 12.5%)
CIE-LABlab(45.05, 40.15, -68.57)
CIE-LCHlch(45.05, 79.46, 300.35°)
OKLaboklab(54.28% 0.0303 -0.1971)
OKLCHoklch(54.28% 0.199 278.7)
XYZxyz(21.2184, 14.5809, 71.4940)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C58DF #DBDF58
analogous
#5897DF #5C58DF #9F58DF
triadic
#5C58DF #DF5C58 #58DF5C
tetradic
#5C58DF #DF5897 #DBDF58 #58DF9F
square
#5C58DF #DF5897 #DBDF58 #58DF9F
split-complementary
#5C58DF #DF9F58 #97DF58
monochromatic
#221E9E #2D28D2 #5C58DF #8E8BE9 #C0BFF3

Accessibility & contrast

On white

5.36
#5C58DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5C58DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C58DF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C58DF#FFFFFF#000000##FFFFFF
##5C58DF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c58df;
/* rgb */ color: rgb(92, 88, 223);
/* oklch */ color: oklch(54.3% 0.199 278.7);
Tailwind
colors: {
  custom: {
    50: '#9687ea',
    500: '#5c58df',
    950: '#000000',
  },
}
SCSS
$custom: #5c58df;
$custom-light: #9687ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5c58df",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 241.778,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54279,
    "c": 0.19944,
    "h": 278.7
  },
  "luminance": 0.14582
}

Semantic roles & 50–950 ramp

primary
#5C58DF
secondary
#E1E3B0
accent
#D016CA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5C58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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