#5F58CD#5F58CD

#5F58CD is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.1% C 0.175 H 281.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5F58CD
RGBrgb(95, 88, 205)
HSLhsl(244, 54%, 57%)
HSVhsv(244, 57%, 80%)
CMYKcmyk(53.7%, 57.1%, 0%, 19.6%)
CIE-LABlab(43.97, 35.00, -60.02)
CIE-LCHlch(43.97, 69.48, 300.25°)
OKLaboklab(53.13% 0.0344 -0.1719)
OKLCHoklch(53.13% 0.175 281.3)
XYZxyz(19.2251, 13.8190, 59.4001)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F58CD #C6CD58
analogous
#588BCD #5F58CD #9A58CD
triadic
#5F58CD #CD5F58 #58CD5F
tetradic
#5F58CD #CD588B #C6CD58 #58CD9A
square
#5F58CD #CD588B #C6CD58 #58CD9A
split-complementary
#5F58CD #CD9A58 #8BCD58
monochromatic
#2D2783 #3D35B2 #5F58CD #8C87DB #B9B6E9

Accessibility & contrast

On white

5.58
#5F58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5F58CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F58CD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F58CD#FFFFFF#000000##FFFFFF
##5F58CD1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#2E738A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f58cd;
/* rgb */ color: rgb(95, 88, 205);
/* oklch */ color: oklch(53.1% 0.175 281.3);
Tailwind
colors: {
  custom: {
    50: '#9587dd',
    500: '#5f58cd',
    950: '#000000',
  },
}
SCSS
$custom: #5f58cd;
$custom-light: #9587dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f58cd",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 243.59,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53125,
    "c": 0.17531,
    "h": 281.3
  },
  "luminance": 0.1382
}

Semantic roles & 50–950 ramp

primary
#5F58CD
secondary
#D5D8A9
accent
#DD4BD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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