#5F59E5#5F59E5

#5F59E5 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.1% C 0.205 H 279.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5F59E5
RGBrgb(95, 89, 229)
HSLhsl(243, 73%, 62%)
HSVhsv(243, 61%, 90%)
CMYKcmyk(58.5%, 61.1%, 0%, 10.2%)
CIE-LABlab(45.95, 41.95, -70.50)
CIE-LCHlch(45.95, 82.03, 300.75°)
OKLaboklab(55.13% 0.0327 -0.2027)
OKLCHoklch(55.13% 0.205 279.2)
XYZxyz(22.4301, 15.2332, 75.8719)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59E5 #DFE559
analogous
#5999E5 #5F59E5 #A559E5
triadic
#5F59E5 #E55F59 #59E55F
tetradic
#5F59E5 #E55999 #DFE559 #59E5A5
square
#5F59E5 #E55999 #DFE559 #59E5A5
split-complementary
#5F59E5 #E5A559 #99E559
monochromatic
#211AA9 #2C24DD #5F59E5 #928EED #C5C3F6

Accessibility & contrast

On white

5.19
#5F59E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5F59E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59E5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59E5#FFFFFF#000000##FFFFFF
##5F59E51.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#0067E2
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f59e5;
/* rgb */ color: rgb(95, 89, 229);
/* oklch */ color: oklch(55.1% 0.205 279.2);
Tailwind
colors: {
  custom: {
    50: '#9988ee',
    500: '#5f59e5',
    950: '#000000',
  },
}
SCSS
$custom: #5f59e5;
$custom-light: #9988ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59e5",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 242.571,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55134,
    "c": 0.20533,
    "h": 279.2
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

primary
#5F59E5
secondary
#E4E6B3
accent
#D510CD
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5F59E5

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

Preview Lab → · Contrast checker → · Palette generator →

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