#5F50CA#5F50CA

#5F50CA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.5% C 0.182 H 283.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5F50CA
RGBrgb(95, 80, 202)
HSLhsl(247, 54%, 55%)
HSVhsv(247, 60%, 79%)
CMYKcmyk(53%, 60.4%, 0%, 20.8%)
CIE-LABlab(41.90, 38.87, -61.65)
CIE-LCHlch(41.90, 72.89, 302.23°)
OKLaboklab(51.53% 0.0427 -0.1767)
OKLCHoklch(51.53% 0.182 283.6)
XYZxyz(18.2454, 12.4335, 57.3042)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F50CA #BBCA50
analogous
#507ECA #5F50CA #9C50CA
triadic
#5F50CA #CA5F50 #50CA5F
tetradic
#5F50CA #CA507E #BBCA50 #50CA9C
square
#5F50CA #CA507E #BBCA50 #50CA9C
split-complementary
#5F50CA #CA9C50 #7ECA50
monochromatic
#30257A #4233A9 #5F50CA #8A7FD8 #B5AEE6

Accessibility & contrast

On white

6.02
#5F50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5F50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F50CA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F50CA#FFFFFF#000000##FFFFFF
##5F50CA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#326D85
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5f50ca;
/* rgb */ color: rgb(95, 80, 202);
/* oklch */ color: oklch(51.5% 0.182 283.6);
Tailwind
colors: {
  custom: {
    50: '#9582db',
    500: '#5f50ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f50ca;
$custom-light: #9582db;
$custom-dark: #000000;
JSON
{
  "hex": "#5f50ca",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 247.377,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51528,
    "c": 0.18183,
    "h": 283.6
  },
  "luminance": 0.12434
}

Semantic roles & 50–950 ramp

primary
#5F50CA
secondary
#CED4A1
accent
#DD4BCB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5F50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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