#5F59DB#5F59DB

#5F59DB is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.4% C 0.192 H 279.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5F59DB
RGBrgb(95, 89, 219)
HSLhsl(243, 64%, 60%)
HSVhsv(243, 59%, 86%)
CMYKcmyk(56.6%, 59.4%, 0%, 14.1%)
CIE-LABlab(45.21, 38.80, -66.03)
CIE-LCHlch(45.21, 76.59, 300.44°)
OKLaboklab(54.35% 0.0331 -0.1896)
OKLCHoklch(54.35% 0.192 279.9)
XYZxyz(21.0739, 14.6907, 68.7292)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59DB #D5DB59
analogous
#5994DB #5F59DB #A059DB
triadic
#5F59DB #DB5F59 #59DB5F
tetradic
#5F59DB #DB5994 #D5DB59 #59DBA0
square
#5F59DB #DB5994 #D5DB59 #59DBA0
split-complementary
#5F59DB #DBA059 #94DB59
monochromatic
#272199 #332CCB #5F59DB #8F8BE6 #C0BEF1

Accessibility & contrast

On white

5.33
#5F59DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5F59DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59DB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59DB#FFFFFF#000000##FFFFFF
##5F59DB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#187891
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f59db;
/* rgb */ color: rgb(95, 89, 219);
/* oklch */ color: oklch(54.4% 0.192 279.9);
Tailwind
colors: {
  custom: {
    50: '#9788e7',
    500: '#5f59db',
    950: '#000000',
  },
}
SCSS
$custom: #5f59db;
$custom-light: #9788e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59db",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 242.769,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54354,
    "c": 0.19246,
    "h": 279.9
  },
  "luminance": 0.14692
}

Semantic roles & 50–950 ramp

primary
#5F59DB
secondary
#DEE1AF
accent
#CC19C4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5F59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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