#5962BA#5962BA

#5962BA is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.2% C 0.137 H 276.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5962BA
RGBrgb(89, 98, 186)
HSLhsl(234, 41%, 54%)
HSVhsv(234, 52%, 73%)
CMYKcmyk(52.2%, 47.3%, 0%, 27.1%)
CIE-LABlab(44.81, 21.53, -47.71)
CIE-LCHlch(44.81, 52.34, 294.29°)
OKLaboklab(53.24% 0.0151 -0.1358)
OKLCHoklch(53.24% 0.137 276.3)
XYZxyz(17.3476, 14.4033, 48.3109)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5962BA #BAB159
analogous
#5993BA #5962BA #8159BA
triadic
#5962BA #BA5962 #62BA59
tetradic
#5962BA #BA5993 #BAB159 #59BA81
square
#5962BA #BA5993 #BAB159 #59BA81
split-complementary
#5962BA #BA8159 #93BA59
monochromatic
#2D336C #3F4797 #5962BA #848BCC #AFB4DE

Accessibility & contrast

On white

5.41
#5962BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5962BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5962BA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5962BA#FFFFFF#000000##FFFFFF
##5962BA1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBD
Deuteranopia (green-blind)
#3066B8
Tritanopia (blue-blind)
#2F7585
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5962ba;
/* rgb */ color: rgb(89, 98, 186);
/* oklch */ color: oklch(53.2% 0.137 276.3);
Tailwind
colors: {
  custom: {
    50: '#8e8ecf',
    500: '#5962ba',
    950: '#000000',
  },
}
SCSS
$custom: #5962ba;
$custom-light: #8e8ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#5962ba",
  "rgb": {
    "r": 89,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 234.433,
    "s": 41.277,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53244,
    "c": 0.13661,
    "h": 276.3
  },
  "luminance": 0.14404
}

Semantic roles & 50–950 ramp

primary
#5962BA
secondary
#CCC8A3
accent
#C657D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5962BA

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

Preview Lab → · Contrast checker → · Palette generator →

#5962BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva