#5F58CA#5F58CA

#5F58CA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.9% C 0.171 H 281.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5F58CA
RGBrgb(95, 88, 202)
HSLhsl(244, 52%, 57%)
HSVhsv(244, 56%, 79%)
CMYKcmyk(53%, 56.4%, 0%, 20.8%)
CIE-LABlab(43.76, 34.06, -58.63)
CIE-LCHlch(43.76, 67.81, 300.16°)
OKLaboklab(52.91% 0.0344 -0.1678)
OKLCHoklch(52.91% 0.171 281.6)
XYZxyz(18.8664, 13.6755, 57.5112)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F58CA #C3CA58
analogous
#588ACA #5F58CA #9858CA
triadic
#5F58CA #CA5F58 #58CA5F
tetradic
#5F58CA #CA588A #C3CA58 #58CA98
square
#5F58CA #CA588A #C3CA58 #58CA98
split-complementary
#5F58CA #CA9858 #8ACA58
monochromatic
#2E287F #3E37AE #5F58CA #8C86D9 #B8B5E7

Accessibility & contrast

On white

5.62
#5F58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5F58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F58CA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F58CA#FFFFFF#000000##FFFFFF
##5F58CA1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#317288
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f58ca;
/* rgb */ color: rgb(95, 88, 202);
/* oklch */ color: oklch(52.9% 0.171 281.6);
Tailwind
colors: {
  custom: {
    50: '#9587db',
    500: '#5f58ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f58ca;
$custom-light: #9587db;
$custom-dark: #000000;
JSON
{
  "hex": "#5f58ca",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 243.684,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52905,
    "c": 0.17129,
    "h": 281.6
  },
  "luminance": 0.13677
}

Semantic roles & 50–950 ramp

primary
#5F58CA
secondary
#D3D6A8
accent
#DB4DD3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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