#5F5BED#5F5BED

#5F5BED is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.1% C 0.213 H 278.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5F5BED
RGBrgb(95, 91, 237)
HSLhsl(242, 80%, 64%)
HSVhsv(242, 62%, 93%)
CMYKcmyk(59.9%, 61.6%, 0%, 7.1%)
CIE-LABlab(47.01, 43.29, -73.28)
CIE-LCHlch(47.01, 85.12, 300.57°)
OKLaboklab(56.1% 0.0305 -0.2109)
OKLCHoklch(56.1% 0.213 278.2)
XYZxyz(23.7416, 16.0277, 81.9469)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5BED #E9ED5B
analogous
#5BA0ED #5F5BED #A85BED
triadic
#5F5BED #ED5F5B #5BED5F
tetradic
#5F5BED #ED5BA0 #E9ED5B #5BEDA8
square
#5F5BED #ED5BA0 #E9ED5B #5BEDA8
split-complementary
#5F5BED #EDA85B #A0ED5B
monochromatic
#1914B9 #2924E7 #5F5BED #9592F3 #CBC9F9

Accessibility & contrast

On white

4.99
#5F5BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5F5BED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5BED
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5BED#FFFFFF#000000##FFFFFF
##5F5BED1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f5bed;
/* rgb */ color: rgb(95, 91, 237);
/* oklch */ color: oklch(56.1% 0.213 278.2);
Tailwind
colors: {
  custom: {
    50: '#9a8af4',
    500: '#5f5bed',
    950: '#000000',
  },
}
SCSS
$custom: #5f5bed;
$custom-light: #9a8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5bed",
  "rgb": {
    "r": 95,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 241.644,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.561,
    "c": 0.21309,
    "h": 278.2
  },
  "luminance": 0.16029
}

Semantic roles & 50–950 ramp

primary
#5F5BED
secondary
#EAEBB9
accent
#DD09D7
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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