#5959BB#5959BB

#5959BB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.6% C 0.150 H 279.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5959BB
RGBrgb(89, 89, 187)
HSLhsl(240, 42%, 54%)
HSVhsv(240, 52%, 73%)
CMYKcmyk(52.4%, 52.4%, 0%, 26.7%)
CIE-LABlab(42.54, 27.47, -51.92)
CIE-LCHlch(42.54, 58.73, 297.88°)
OKLaboklab(51.56% 0.0254 -0.1482)
OKLCHoklch(51.56% 0.15 279.7)
XYZxyz(16.6591, 12.8555, 48.6076)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5959BB #BBBB59
analogous
#598ABB #5959BB #8A59BB
triadic
#5959BB #BB5959 #59BB59
tetradic
#5959BB #BB598A #BBBB59 #59BB8A
square
#5959BB #BB598A #BBBB59 #59BB8A
split-complementary
#5959BB #BB8A59 #8ABB59
monochromatic
#2D2D6D #3E3E98 #5959BB #8484CD #B0B0DF

Accessibility & contrast

On white

5.88
#5959BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5959BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5959BB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5959BB#FFFFFF#000000##FFFFFF
##5959BB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BE
Deuteranopia (green-blind)
#1861B9
Tritanopia (blue-blind)
#2F6F81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5959bb;
/* rgb */ color: rgb(89, 89, 187);
/* oklch */ color: oklch(51.6% 0.150 279.7);
Tailwind
colors: {
  custom: {
    50: '#8f88d0',
    500: '#5959bb',
    950: '#000000',
  },
}
SCSS
$custom: #5959bb;
$custom-light: #8f88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5959bb",
  "rgb": {
    "r": 89,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 240,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51559,
    "c": 0.1504,
    "h": 279.7
  },
  "luminance": 0.12856
}

Semantic roles & 50–950 ramp

primary
#5959BB
secondary
#CDCDA3
accent
#D256D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5959BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5959BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva