#5F5FED#5F5FED

#5F5FED is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.8% C 0.208 H 277.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5F5FED
RGBrgb(95, 95, 237)
HSLhsl(240, 80%, 65%)
HSVhsv(240, 60%, 93%)
CMYKcmyk(59.9%, 59.9%, 0%, 7.1%)
CIE-LABlab(47.92, 40.93, -71.81)
CIE-LCHlch(47.92, 82.65, 299.68°)
OKLaboklab(56.77% 0.0271 -0.2065)
OKLCHoklch(56.77% 0.208 277.5)
XYZxyz(24.0927, 16.7299, 82.0639)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5FED #EDED5F
analogous
#5FA6ED #5F5FED #A65FED
triadic
#5F5FED #ED5F5F #5FED5F
tetradic
#5F5FED #ED5FA6 #EDED5F #5FEDA6
square
#5F5FED #ED5FA6 #EDED5F #5FEDA6
split-complementary
#5F5FED #EDA65F #A6ED5F
monochromatic
#1515BC #2828E7 #5F5FED #9696F3 #CDCDF9

Accessibility & contrast

On white

4.83
#5F5FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5F5FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5FED
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5FED#FFFFFF#000000##FFFFFF
##5F5FED1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5f5fed;
/* rgb */ color: rgb(95, 95, 237);
/* oklch */ color: oklch(56.8% 0.208 277.5);
Tailwind
colors: {
  custom: {
    50: '#9a8cf4',
    500: '#5f5fed',
    950: '#000000',
  },
}
SCSS
$custom: #5f5fed;
$custom-light: #9a8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5fed",
  "rgb": {
    "r": 95,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 240,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.56766,
    "c": 0.20828,
    "h": 277.5
  },
  "luminance": 0.16732
}

Semantic roles & 50–950 ramp

primary
#5F5FED
secondary
#ECECBC
accent
#DC09DC
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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