#5B62CF#5B62CF

#5B62CF is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.8% C 0.166 H 276.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5B62CF
RGBrgb(91, 98, 207)
HSLhsl(236, 55%, 58%)
HSVhsv(236, 56%, 81%)
CMYKcmyk(56%, 52.7%, 0%, 18.8%)
CIE-LABlab(46.26, 28.73, -57.48)
CIE-LCHlch(46.26, 64.26, 296.56°)
OKLaboklab(54.8% 0.0193 -0.1645)
OKLCHoklch(54.8% 0.166 276.7)
XYZxyz(19.9409, 15.4631, 60.9533)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B62CF #CFC85B
analogous
#5B9CCF #5B62CF #8E5BCF
triadic
#5B62CF #CF5B62 #62CF5B
tetradic
#5B62CF #CF5B9C #CFC85B #5BCF8E
square
#5B62CF #CF5B9C #CFC85B #5BCF8E
split-complementary
#5B62CF #CF8E5B #9CCF5B
monochromatic
#282E88 #363DB7 #5B62CF #8A8FDD #BABDEB

Accessibility & contrast

On white

5.13
#5B62CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5B62CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B62CF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B62CF#FFFFFF#000000##FFFFFF
##5B62CF1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#0469CD
Tritanopia (blue-blind)
#1A7B8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b62cf;
/* rgb */ color: rgb(91, 98, 207);
/* oklch */ color: oklch(54.8% 0.166 276.7);
Tailwind
colors: {
  custom: {
    50: '#938ede',
    500: '#5b62cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b62cf;
$custom-light: #938ede;
$custom-dark: #000000;
JSON
{
  "hex": "#5b62cf",
  "rgb": {
    "r": 91,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 236.379,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54801,
    "c": 0.16561,
    "h": 276.7
  },
  "luminance": 0.15465
}

Semantic roles & 50–950 ramp

primary
#5B62CF
secondary
#DAD7AC
accent
#D54ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5B62CF

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

Preview Lab → · Contrast checker → · Palette generator →

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