#5F59DE#5F59DE

#5F59DE is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.6% C 0.196 H 279.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5F59DE
RGBrgb(95, 89, 222)
HSLhsl(243, 67%, 61%)
HSVhsv(243, 60%, 87%)
CMYKcmyk(57.2%, 59.9%, 0%, 12.9%)
CIE-LABlab(45.43, 39.74, -67.38)
CIE-LCHlch(45.43, 78.23, 300.53°)
OKLaboklab(54.58% 0.033 -0.1935)
OKLCHoklch(54.58% 0.196 279.7)
XYZxyz(21.4724, 14.8501, 70.8279)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59DE #D8DE59
analogous
#5995DE #5F59DE #A159DE
triadic
#5F59DE #DE5F59 #59DE5F
tetradic
#5F59DE #DE5995 #D8DE59 #59DEA1
square
#5F59DE #DE5995 #D8DE59 #59DEA1
split-complementary
#5F59DE #DEA159 #95DE59
monochromatic
#251F9D #3129D0 #5F59DE #908CE8 #C1BFF2

Accessibility & contrast

On white

5.29
#5F59DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5F59DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59DE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59DE#FFFFFF#000000##FFFFFF
##5F59DE1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#117993
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f59de;
/* rgb */ color: rgb(95, 89, 222);
/* oklch */ color: oklch(54.6% 0.196 279.7);
Tailwind
colors: {
  custom: {
    50: '#9888e9',
    500: '#5f59de',
    950: '#000000',
  },
}
SCSS
$custom: #5f59de;
$custom-light: #9888e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59de",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 222
  },
  "hsl": {
    "h": 242.707,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54585,
    "c": 0.19635,
    "h": 279.7
  },
  "luminance": 0.14852
}

Semantic roles & 50–950 ramp

primary
#5F59DE
secondary
#E0E2B0
accent
#CF17C6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5F59DE

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

Preview Lab → · Contrast checker → · Palette generator →

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