#5B62CA#5B62CA

#5B62CA is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.159 H 276.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5B62CA
RGBrgb(91, 98, 202)
HSLhsl(236, 51%, 57%)
HSVhsv(236, 55%, 79%)
CMYKcmyk(55%, 51.5%, 0%, 20.8%)
CIE-LABlab(45.94, 27.11, -55.14)
CIE-LCHlch(45.94, 61.44, 296.18°)
OKLaboklab(54.45% 0.0189 -0.1576)
OKLCHoklch(54.45% 0.159 276.9)
XYZxyz(19.3393, 15.2225, 57.7848)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B62CA #CAC35B
analogous
#5B9ACA #5B62CA #8B5BCA
triadic
#5B62CA #CA5B62 #62CA5B
tetradic
#5B62CA #CA5B9A #CAC35B #5BCA8B
square
#5B62CA #CA5B9A #CAC35B #5BCA8B
split-complementary
#5B62CA #CA8B5B #9ACA5B
monochromatic
#2A2F81 #3940AF #5B62CA #898ED9 #B8BBE8

Accessibility & contrast

On white

5.19
#5B62CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5B62CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B62CA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B62CA#FFFFFF#000000##FFFFFF
##5B62CA1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A71CE
Deuteranopia (green-blind)
#1868C8
Tritanopia (blue-blind)
#22798D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b62ca;
/* rgb */ color: rgb(91, 98, 202);
/* oklch */ color: oklch(54.5% 0.159 276.9);
Tailwind
colors: {
  custom: {
    50: '#928edb',
    500: '#5b62ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b62ca;
$custom-light: #928edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b62ca",
  "rgb": {
    "r": 91,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 236.216,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54453,
    "c": 0.1587,
    "h": 276.9
  },
  "luminance": 0.15224
}

Semantic roles & 50–950 ramp

primary
#5B62CA
secondary
#D7D4AA
accent
#D24DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B62CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5B62CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva