#5961EB#5961EB

#5961EB is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.6% C 0.205 H 275.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5961EB
RGBrgb(89, 97, 235)
HSLhsl(237, 78%, 64%)
HSVhsv(237, 62%, 92%)
CMYKcmyk(62.1%, 58.7%, 0%, 7.8%)
CIE-LABlab(47.84, 38.13, -70.83)
CIE-LCHlch(47.84, 80.44, 298.30°)
OKLaboklab(56.56% 0.0186 -0.2038)
OKLCHoklch(56.56% 0.205 275.2)
XYZxyz(23.3850, 16.6695, 80.5663)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5961EB #EBE359
analogous
#59AAEB #5961EB #9A59EB
triadic
#5961EB #EB5961 #61EB59
tetradic
#5961EB #EB59AA #EBE359 #59EB9A
square
#5961EB #EB59AA #EBE359 #59EB9A
split-complementary
#5961EB #EB9A59 #AAEB59
monochromatic
#161EB4 #222DE4 #5961EB #9095F2 #C6C9F8

Accessibility & contrast

On white

4.85
#5961EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5961EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5961EB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5961EB#FFFFFF#000000##FFFFFF
##5961EB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5961eb;
/* rgb */ color: rgb(89, 97, 235);
/* oklch */ color: oklch(56.6% 0.205 275.2);
Tailwind
colors: {
  custom: {
    50: '#968ef2',
    500: '#5961eb',
    950: '#000000',
  },
}
SCSS
$custom: #5961eb;
$custom-light: #968ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5961eb",
  "rgb": {
    "r": 89,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 236.712,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56561,
    "c": 0.20463,
    "h": 275.2
  },
  "luminance": 0.16671
}

Semantic roles & 50–950 ramp

primary
#5961EB
secondary
#EAE7B6
accent
#CF0BDB
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5961EB

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

Preview Lab → · Contrast checker → · Palette generator →

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