#5F59BB#5F59BB

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

Color values

HEX#5F59BB
RGBrgb(95, 89, 187)
HSLhsl(244, 42%, 54%)
HSVhsv(244, 52%, 73%)
CMYKcmyk(49.2%, 52.4%, 0%, 26.7%)
CIE-LABlab(43.01, 28.78, -51.14)
CIE-LCHlch(43.01, 58.68, 299.37°)
OKLaboklab(52.03% 0.0327 -0.1458)
OKLCHoklch(52.03% 0.149 282.6)
XYZxyz(17.2586, 13.1646, 48.6357)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59BB #B5BB59
analogous
#5984BB #5F59BB #9059BB
triadic
#5F59BB #BB5F59 #59BB5F
tetradic
#5F59BB #BB5984 #B5BB59 #59BB90
square
#5F59BB #BB5984 #B5BB59 #59BB90
split-complementary
#5F59BB #BB9059 #84BB59
monochromatic
#312D6D #443E98 #5F59BB #8984CD #B3B0DF

Accessibility & contrast

On white

5.78
#5F59BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5F59BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59BB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59BB#FFFFFF#000000##FFFFFF
##5F59BB1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#2062B9
Tritanopia (blue-blind)
#3D6E81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f59bb;
/* rgb */ color: rgb(95, 89, 187);
/* oklch */ color: oklch(52.0% 0.149 282.6);
Tailwind
colors: {
  custom: {
    50: '#9388d0',
    500: '#5f59bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f59bb;
$custom-light: #9388d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59bb",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 243.673,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52025,
    "c": 0.14941,
    "h": 282.6
  },
  "luminance": 0.13166
}

Semantic roles & 50–950 ramp

primary
#5F59BB
secondary
#CACDA3
accent
#D256CA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #5F59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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