#5968EB#5968EB

#5968EB is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.8% C 0.196 H 273.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5968EB
RGBrgb(89, 104, 235)
HSLhsl(234, 78%, 64%)
HSVhsv(234, 62%, 92%)
CMYKcmyk(62.1%, 55.7%, 0%, 7.8%)
CIE-LABlab(49.52, 33.88, -68.10)
CIE-LCHlch(49.52, 76.06, 296.45°)
OKLaboklab(57.81% 0.0125 -0.1957)
OKLCHoklch(57.81% 0.196 273.6)
XYZxyz(24.0606, 18.0206, 80.7915)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5968EB #EBDC59
analogous
#59B1EB #5968EB #9359EB
triadic
#5968EB #EB5968 #68EB59
tetradic
#5968EB #EB59B1 #EBDC59 #59EB93
square
#5968EB #EB59B1 #EBDC59 #59EB93
split-complementary
#5968EB #EB9359 #B1EB59
monochromatic
#1626B4 #2236E4 #5968EB #909AF2 #C6CBF8

Accessibility & contrast

On white

4.56
#5968EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5968EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5968EB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5968EB#FFFFFF#000000##000000
##5968EB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#00879F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5968eb;
/* rgb */ color: rgb(89, 104, 235);
/* oklch */ color: oklch(57.8% 0.196 273.6);
Tailwind
colors: {
  custom: {
    50: '#9693f2',
    500: '#5968eb',
    950: '#000000',
  },
}
SCSS
$custom: #5968eb;
$custom-light: #9693f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5968eb",
  "rgb": {
    "r": 89,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 233.836,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.19609,
    "h": 273.6
  },
  "luminance": 0.18023
}

Semantic roles & 50–950 ramp

primary
#5968EB
secondary
#EAE4B6
accent
#C50BDB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5968EB

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

Preview Lab → · Contrast checker → · Palette generator →

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