#5F4BEB#5F4BEB

#5F4BEB is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.5% C 0.229 H 281.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5F4BEB
RGBrgb(95, 75, 235)
HSLhsl(248, 80%, 61%)
HSVhsv(248, 68%, 92%)
CMYKcmyk(59.6%, 68.1%, 0%, 7.8%)
CIE-LABlab(43.45, 51.79, -77.98)
CIE-LCHlch(43.45, 93.61, 303.59°)
OKLaboklab(53.47% 0.0437 -0.2247)
OKLCHoklch(53.47% 0.229 281)
XYZxyz(22.2261, 13.4616, 80.0083)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4BEB #D7EB4B
analogous
#4B87EB #5F4BEB #AF4BEB
triadic
#5F4BEB #EB5F4B #4BEB5F
tetradic
#5F4BEB #EB4B87 #D7EB4B #4BEBAF
square
#5F4BEB #EB4B87 #D7EB4B #4BEBAF
split-complementary
#5F4BEB #EBAF4B #87EB4B
monochromatic
#2613A9 #3219E0 #5F4BEB #9082F1 #C1B9F7

Accessibility & contrast

On white

5.69
#5F4BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5F4BEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4BEB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4BEB#FFFFFF#000000##FFFFFF
##5F4BEB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF0
Deuteranopia (green-blind)
#0061E8
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f4beb;
/* rgb */ color: rgb(95, 75, 235);
/* oklch */ color: oklch(53.5% 0.229 281.0);
Tailwind
colors: {
  custom: {
    50: '#9b7ff3',
    500: '#5f4beb',
    950: '#000000',
  },
}
SCSS
$custom: #5f4beb;
$custom-light: #9b7ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4beb",
  "rgb": {
    "r": 95,
    "g": 75,
    "b": 235
  },
  "hsl": {
    "h": 247.5,
    "s": 80,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53469,
    "c": 0.22888,
    "h": 281
  },
  "luminance": 0.13463
}

Semantic roles & 50–950 ramp

primary
#5F4BEB
secondary
#E0E7AB
accent
#DC09C2
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F4BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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