#5F59DD#5F59DD

#5F59DD is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.5% C 0.195 H 279.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5F59DD
RGBrgb(95, 89, 221)
HSLhsl(243, 66%, 61%)
HSVhsv(243, 60%, 87%)
CMYKcmyk(57%, 59.7%, 0%, 13.3%)
CIE-LABlab(45.35, 39.43, -66.93)
CIE-LCHlch(45.35, 77.68, 300.50°)
OKLaboklab(54.51% 0.0331 -0.1922)
OKLCHoklch(54.51% 0.195 279.8)
XYZxyz(21.3387, 14.7967, 70.1242)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59DD #D7DD59
analogous
#5995DD #5F59DD #A159DD
triadic
#5F59DD #DD5F59 #59DD5F
tetradic
#5F59DD #DD5995 #D7DD59 #59DDA1
square
#5F59DD #DD5995 #D7DD59 #59DDA1
split-complementary
#5F59DD #DDA159 #95DD59
monochromatic
#26209C #322ACF #5F59DD #908CE7 #C1BFF2

Accessibility & contrast

On white

5.30
#5F59DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5F59DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59DD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59DD#FFFFFF#000000##FFFFFF
##5F59DD1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#137992
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f59dd;
/* rgb */ color: rgb(95, 89, 221);
/* oklch */ color: oklch(54.5% 0.195 279.8);
Tailwind
colors: {
  custom: {
    50: '#9788e8',
    500: '#5f59dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f59dd;
$custom-light: #9788e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59dd",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 221
  },
  "hsl": {
    "h": 242.727,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54508,
    "c": 0.19505,
    "h": 279.8
  },
  "luminance": 0.14798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F59DD

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

Preview Lab → · Contrast checker → · Palette generator →

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