#5F59DF#5F59DF

#5F59DF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.7% C 0.198 H 279.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5F59DF
RGBrgb(95, 89, 223)
HSLhsl(243, 68%, 61%)
HSVhsv(243, 60%, 87%)
CMYKcmyk(57.4%, 60.1%, 0%, 12.5%)
CIE-LABlab(45.50, 40.06, -67.83)
CIE-LCHlch(45.50, 78.77, 300.57°)
OKLaboklab(54.66% 0.033 -0.1949)
OKLCHoklch(54.66% 0.198 279.6)
XYZxyz(21.6068, 14.9039, 71.5359)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59DF #D9DF59
analogous
#5996DF #5F59DF #A259DF
triadic
#5F59DF #DF5F59 #59DF5F
tetradic
#5F59DF #DF5996 #D9DF59 #59DFA2
square
#5F59DF #DF5996 #D9DF59 #59DFA2
split-complementary
#5F59DF #DFA259 #96DF59
monochromatic
#241F9F #3029D2 #5F59DF #908CE9 #C2C0F3

Accessibility & contrast

On white

5.28
#5F59DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5F59DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59DF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59DF#FFFFFF#000000##FFFFFF
##5F59DF1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#0D7A93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f59df;
/* rgb */ color: rgb(95, 89, 223);
/* oklch */ color: oklch(54.7% 0.198 279.6);
Tailwind
colors: {
  custom: {
    50: '#9888ea',
    500: '#5f59df',
    950: '#000000',
  },
}
SCSS
$custom: #5f59df;
$custom-light: #9888ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59df",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 223
  },
  "hsl": {
    "h": 242.687,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54663,
    "c": 0.19764,
    "h": 279.6
  },
  "luminance": 0.14905
}

Semantic roles & 50–950 ramp

primary
#5F59DF
secondary
#E1E3B1
accent
#D016C7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5F59DF

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

Preview Lab → · Contrast checker → · Palette generator →

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