#5F56DF#5F56DF

#5F56DF is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.201 H 280.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5F56DF
RGBrgb(95, 86, 223)
HSLhsl(244, 68%, 61%)
HSVhsv(244, 61%, 87%)
CMYKcmyk(57.4%, 61.4%, 0%, 12.5%)
CIE-LABlab(44.82, 41.84, -68.94)
CIE-LCHlch(44.82, 80.64, 301.25°)
OKLaboklab(54.16% 0.0357 -0.1981)
OKLCHoklch(54.16% 0.201 280.2)
XYZxyz(21.3622, 14.4147, 71.4544)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F56DF #D6DF56
analogous
#5691DF #5F56DF #A456DF
triadic
#5F56DF #DF5F56 #56DF5F
tetradic
#5F56DF #DF5691 #D6DF56 #56DFA4
square
#5F56DF #DF5691 #D6DF56 #56DFA4
split-complementary
#5F56DF #DFA456 #91DF56
monochromatic
#261E9D #3327D0 #5F56DF #9089E9 #C0BDF2

Accessibility & contrast

On white

5.41
#5F56DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5F56DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F56DF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F56DF#FFFFFF#000000##FFFFFF
##5F56DF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#0F7892
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f56df;
/* rgb */ color: rgb(95, 86, 223);
/* oklch */ color: oklch(54.2% 0.201 280.2);
Tailwind
colors: {
  custom: {
    50: '#9886ea',
    500: '#5f56df',
    950: '#000000',
  },
}
SCSS
$custom: #5f56df;
$custom-light: #9886ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5f56df",
  "rgb": {
    "r": 95,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 243.942,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54164,
    "c": 0.20134,
    "h": 280.2
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#5F56DF
secondary
#DFE2AE
accent
#D015C4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5F56DF

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

Preview Lab → · Contrast checker → · Palette generator →

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