#5968EF#5968EF

#5968EF is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.1% C 0.201 H 273.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5968EF
RGBrgb(89, 104, 239)
HSLhsl(234, 82%, 64%)
HSVhsv(234, 63%, 94%)
CMYKcmyk(62.8%, 56.5%, 0%, 6.3%)
CIE-LABlab(49.80, 35.20, -69.88)
CIE-LCHlch(49.80, 78.25, 296.74°)
OKLaboklab(58.11% 0.0125 -0.2009)
OKLCHoklch(58.11% 0.201 273.6)
XYZxyz(24.6450, 18.2544, 83.8693)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5968EF #EFE059
analogous
#59B3EF #5968EF #9559EF
triadic
#5968EF #EF5968 #68EF59
tetradic
#5968EF #EF59B3 #EFE059 #59EF95
square
#5968EF #EF59B3 #EFE059 #59EF95
split-complementary
#5968EF #EF9559 #B3EF59
monochromatic
#1223BC #2135EA #5968EF #919BF4 #C9CEFA

Accessibility & contrast

On white

4.51
#5968EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#5968EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5968EF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5968EF#FFFFFF#000000##000000
##5968EF1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0070EC
Tritanopia (blue-blind)
#0089A1
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5968ef;
/* rgb */ color: rgb(89, 104, 239);
/* oklch */ color: oklch(58.1% 0.201 273.6);
Tailwind
colors: {
  custom: {
    50: '#9693f5',
    500: '#5968ef',
    950: '#000000',
  },
}
SCSS
$custom: #5968ef;
$custom-light: #9693f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5968ef",
  "rgb": {
    "r": 89,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 234,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.20133,
    "h": 273.6
  },
  "luminance": 0.18256
}

Semantic roles & 50–950 ramp

primary
#5968EF
secondary
#ECE7B8
accent
#C907DF
background
#FAF9FF
surface
#F3F1FF
border
#CDCBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5968EF

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

Preview Lab → · Contrast checker → · Palette generator →

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