#5968BC#5968BC

#5968BC is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.6% C 0.131 H 273.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5968BC
RGBrgb(89, 104, 188)
HSLhsl(231, 42%, 54%)
HSVhsv(231, 53%, 74%)
CMYKcmyk(52.7%, 44.7%, 0%, 26.3%)
CIE-LABlab(46.52, 18.43, -46.13)
CIE-LCHlch(46.52, 49.68, 291.77°)
OKLaboklab(54.58% 0.0084 -0.1311)
OKLCHoklch(54.58% 0.131 273.6)
XYZxyz(18.1443, 15.6541, 49.6326)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5968BC #BCAD59
analogous
#599ABC #5968BC #7C59BC
triadic
#5968BC #BC5968 #68BC59
tetradic
#5968BC #BC599A #BCAD59 #59BC7C
square
#5968BC #BC599A #BCAD59 #59BC7C
split-complementary
#5968BC #BC7C59 #9ABC59
monochromatic
#2C366E #3E4C9A #5968BC #8590CE #B0B7DF

Accessibility & contrast

On white

5.08
#5968BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5968BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5968BC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5968BC#FFFFFF#000000##FFFFFF
##5968BC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4473BF
Deuteranopia (green-blind)
#396ABA
Tritanopia (blue-blind)
#2C7A89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5968bc;
/* rgb */ color: rgb(89, 104, 188);
/* oklch */ color: oklch(54.6% 0.131 273.6);
Tailwind
colors: {
  custom: {
    50: '#8e92d1',
    500: '#5968bc',
    950: '#000000',
  },
}
SCSS
$custom: #5968bc;
$custom-light: #8e92d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5968bc",
  "rgb": {
    "r": 89,
    "g": 104,
    "b": 188
  },
  "hsl": {
    "h": 230.909,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54583,
    "c": 0.13138,
    "h": 273.6
  },
  "luminance": 0.15655
}

Semantic roles & 50–950 ramp

primary
#5968BC
secondary
#CDC7A3
accent
#BF56D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0D14
muted
#7E7D82

Preview Lab

Preview with #5968BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5968BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva