#5F59DA#5F59DA

#5F59DA is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.3% C 0.191 H 280.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5F59DA
RGBrgb(95, 89, 218)
HSLhsl(243, 64%, 60%)
HSVhsv(243, 59%, 85%)
CMYKcmyk(56.4%, 59.2%, 0%, 14.5%)
CIE-LABlab(45.13, 38.48, -65.58)
CIE-LCHlch(45.13, 76.04, 300.41°)
OKLaboklab(54.28% 0.0332 -0.1883)
OKLCHoklch(54.28% 0.191 280)
XYZxyz(20.9426, 14.6382, 68.0380)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59DA #D4DA59
analogous
#5993DA #5F59DA #A059DA
triadic
#5F59DA #DA5F59 #59DA5F
tetradic
#5F59DA #DA5993 #D4DA59 #59DAA0
square
#5F59DA #DA5993 #D4DA59 #59DAA0
split-complementary
#5F59DA #DAA059 #93DA59
monochromatic
#272297 #342DC9 #5F59DA #8F8BE5 #BFBDF0

Accessibility & contrast

On white

5.35
#5F59DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5F59DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59DA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59DA#FFFFFF#000000##FFFFFF
##5F59DA1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#1B7891
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f59da;
/* rgb */ color: rgb(95, 89, 218);
/* oklch */ color: oklch(54.3% 0.191 280.0);
Tailwind
colors: {
  custom: {
    50: '#9788e6',
    500: '#5f59da',
    950: '#000000',
  },
}
SCSS
$custom: #5f59da;
$custom-light: #9788e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59da",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 218
  },
  "hsl": {
    "h": 242.791,
    "s": 63.547,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54277,
    "c": 0.19116,
    "h": 280
  },
  "luminance": 0.1464
}

Semantic roles & 50–950 ramp

primary
#5F59DA
secondary
#DEE0AF
accent
#CB1AC3
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5F59DA

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

Preview Lab → · Contrast checker → · Palette generator →

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