#5F58BF#5F58BF

#5F58BF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.1% C 0.156 H 282.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5F58BF
RGBrgb(95, 88, 191)
HSLhsl(244, 45%, 55%)
HSVhsv(244, 54%, 75%)
CMYKcmyk(50.3%, 53.9%, 0%, 25.1%)
CIE-LABlab(43.02, 30.64, -53.45)
CIE-LCHlch(43.02, 61.61, 299.82°)
OKLaboklab(52.12% 0.0341 -0.1526)
OKLCHoklch(52.12% 0.156 282.6)
XYZxyz(17.6102, 13.1730, 50.8948)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F58BF #B8BF58
analogous
#5884BF #5F58BF #9358BF
triadic
#5F58BF #BF5F58 #58BF5F
tetradic
#5F58BF #BF5884 #B8BF58 #58BF93
square
#5F58BF #BF5884 #B8BF58 #58BF93
split-complementary
#5F58BF #BF9358 #84BF58
monochromatic
#302B71 #433C9D #5F58BF #8984D0 #B4B0E1

Accessibility & contrast

On white

5.78
#5F58BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5F58BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F58BF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F58BF#FFFFFF#000000##FFFFFF
##5F58BF1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C3
Deuteranopia (green-blind)
#1562BD
Tritanopia (blue-blind)
#3B6F83
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f58bf;
/* rgb */ color: rgb(95, 88, 191);
/* oklch */ color: oklch(52.1% 0.156 282.6);
Tailwind
colors: {
  custom: {
    50: '#9387d3',
    500: '#5f58bf',
    950: '#000000',
  },
}
SCSS
$custom: #5f58bf;
$custom-light: #9387d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f58bf",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 244.078,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52117,
    "c": 0.15635,
    "h": 282.6
  },
  "luminance": 0.13174
}

Semantic roles & 50–950 ramp

primary
#5F58BF
secondary
#CCCFA4
accent
#D454CC
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #5F58BF

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

Preview Lab → · Contrast checker → · Palette generator →

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