#5F59BC#5F59BC

#5F59BC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.1% C 0.151 H 282.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5F59BC
RGBrgb(95, 89, 188)
HSLhsl(244, 42%, 54%)
HSVhsv(244, 53%, 74%)
CMYKcmyk(49.5%, 52.7%, 0%, 26.3%)
CIE-LABlab(43.07, 29.09, -51.62)
CIE-LCHlch(43.07, 59.25, 299.40°)
OKLaboklab(52.09% 0.0328 -0.1472)
OKLCHoklch(52.09% 0.151 282.6)
XYZxyz(17.3661, 13.2076, 49.2015)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59BC #B6BC59
analogous
#5985BC #5F59BC #9159BC
triadic
#5F59BC #BC5F59 #59BC5F
tetradic
#5F59BC #BC5985 #B6BC59 #59BC91
square
#5F59BC #BC5985 #B6BC59 #59BC91
split-complementary
#5F59BC #BC9159 #85BC59
monochromatic
#302C6E #443E9A #5F59BC #8985CE #B3B0DF

Accessibility & contrast

On white

5.77
#5F59BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5F59BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59BC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59BC#FFFFFF#000000##FFFFFF
##5F59BC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BF
Deuteranopia (green-blind)
#1F62BA
Tritanopia (blue-blind)
#3D6F82
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f59bc;
/* rgb */ color: rgb(95, 89, 188);
/* oklch */ color: oklch(52.1% 0.151 282.6);
Tailwind
colors: {
  custom: {
    50: '#9388d1',
    500: '#5f59bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f59bc;
$custom-light: #9388d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59bc",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 243.636,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.1508,
    "h": 282.6
  },
  "luminance": 0.13208
}

Semantic roles & 50–950 ramp

primary
#5F59BC
secondary
#CBCDA3
accent
#D256CB
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #5F59BC

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

Preview Lab → · Contrast checker → · Palette generator →

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