#5F56DA#5F56DA

#5F56DA is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.8% C 0.195 H 280.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5F56DA
RGBrgb(95, 86, 218)
HSLhsl(244, 64%, 60%)
HSVhsv(244, 61%, 85%)
CMYKcmyk(56.4%, 60.6%, 0%, 14.5%)
CIE-LABlab(44.45, 40.27, -66.70)
CIE-LCHlch(44.45, 77.92, 301.12°)
OKLaboklab(53.77% 0.036 -0.1916)
OKLCHoklch(53.77% 0.195 280.7)
XYZxyz(20.6980, 14.1491, 67.9564)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F56DA #D1DA56
analogous
#568FDA #5F56DA #A156DA
triadic
#5F56DA #DA5F56 #56DA5F
tetradic
#5F56DA #DA568F #D1DA56 #56DAA1
square
#5F56DA #DA568F #D1DA56 #56DAA1
split-complementary
#5F56DA #DAA156 #8FDA56
monochromatic
#292195 #362CC7 #5F56DA #8F88E5 #BEBAF0

Accessibility & contrast

On white

5.48
#5F56DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5F56DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F56DA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F56DA#FFFFFF#000000##FFFFFF
##5F56DA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#1B7690
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f56da;
/* rgb */ color: rgb(95, 86, 218);
/* oklch */ color: oklch(53.8% 0.195 280.7);
Tailwind
colors: {
  custom: {
    50: '#9786e6',
    500: '#5f56da',
    950: '#000000',
  },
}
SCSS
$custom: #5f56da;
$custom-light: #9786e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f56da",
  "rgb": {
    "r": 95,
    "g": 86,
    "b": 218
  },
  "hsl": {
    "h": 244.091,
    "s": 64.078,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5377,
    "c": 0.19493,
    "h": 280.7
  },
  "luminance": 0.1415
}

Semantic roles & 50–950 ramp

primary
#5F56DA
secondary
#DCE0AC
accent
#E741DC
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5F56DA

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

Preview Lab → · Contrast checker → · Palette generator →

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