#5B62DF#5B62DF

#5B62DF is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.0% C 0.187 H 276.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5B62DF
RGBrgb(91, 98, 223)
HSLhsl(237, 67%, 62%)
HSVhsv(237, 59%, 87%)
CMYKcmyk(59.2%, 56.1%, 0%, 12.5%)
CIE-LABlab(47.35, 33.93, -64.85)
CIE-LCHlch(47.35, 73.19, 297.62°)
OKLaboklab(55.96% 0.0199 -0.1861)
OKLCHoklch(55.96% 0.187 276.1)
XYZxyz(21.9970, 16.2856, 71.7820)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B62DF #DFD85B
analogous
#5BA4DF #5B62DF #965BDF
triadic
#5B62DF #DF5B62 #62DF5B
tetradic
#5B62DF #DF5BA4 #DFD85B #5BDF96
square
#5B62DF #DF5BA4 #DFD85B #5BDF96
split-complementary
#5B62DF #DF965B #A4DF5B
monochromatic
#1F26A0 #2932D4 #5B62DF #8E93E9 #C1C4F3

Accessibility & contrast

On white

4.93
#5B62DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5B62DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B62DF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B62DF#FFFFFF#000000##FFFFFF
##5B62DF1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b62df;
/* rgb */ color: rgb(91, 98, 223);
/* oklch */ color: oklch(56.0% 0.187 276.1);
Tailwind
colors: {
  custom: {
    50: '#958eea',
    500: '#5b62df',
    950: '#000000',
  },
}
SCSS
$custom: #5b62df;
$custom-light: #958eea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b62df",
  "rgb": {
    "r": 91,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 236.818,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55956,
    "c": 0.1872,
    "h": 276.1
  },
  "luminance": 0.16287
}

Semantic roles & 50–950 ramp

primary
#5B62DF
secondary
#E3E1B2
accent
#C516CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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