#5F59E8#5F59E8

#5F59E8 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.4% C 0.209 H 278.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5F59E8
RGBrgb(95, 89, 232)
HSLhsl(243, 76%, 63%)
HSVhsv(243, 62%, 91%)
CMYKcmyk(59.1%, 61.6%, 0%, 9%)
CIE-LABlab(46.18, 42.89, -71.82)
CIE-LCHlch(46.18, 83.65, 300.85°)
OKLaboklab(55.37% 0.0325 -0.2066)
OKLCHoklch(55.37% 0.209 278.9)
XYZxyz(22.8525, 15.4022, 78.0970)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59E8 #E2E859
analogous
#599BE8 #5F59E8 #A659E8
triadic
#5F59E8 #E85F59 #59E85F
tetradic
#5F59E8 #E8599B #E2E859 #59E8A6
square
#5F59E8 #E8599B #E2E859 #59E8A6
split-complementary
#5F59E8 #E8A659 #9BE859
monochromatic
#1E18AE #2B23E1 #5F59E8 #938FEF #C7C5F7

Accessibility & contrast

On white

5.15
#5F59E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5F59E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59E8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59E8#FFFFFF#000000##FFFFFF
##5F59E81.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#0068E5
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f59e8;
/* rgb */ color: rgb(95, 89, 232);
/* oklch */ color: oklch(55.4% 0.209 278.9);
Tailwind
colors: {
  custom: {
    50: '#9988f0',
    500: '#5f59e8',
    950: '#000000',
  },
}
SCSS
$custom: #5f59e8;
$custom-light: #9988f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59e8",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 232
  },
  "hsl": {
    "h": 242.517,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55373,
    "c": 0.20915,
    "h": 278.9
  },
  "luminance": 0.15404
}

Semantic roles & 50–950 ramp

primary
#5F59E8
secondary
#E6E8B5
accent
#D80ECF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F59E8

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

Preview Lab → · Contrast checker → · Palette generator →

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