#5B62DD#5B62DD

#5B62DD is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.8% C 0.185 H 276.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5B62DD
RGBrgb(91, 98, 221)
HSLhsl(237, 66%, 61%)
HSVhsv(237, 59%, 87%)
CMYKcmyk(58.8%, 55.7%, 0%, 13.3%)
CIE-LABlab(47.21, 33.28, -63.94)
CIE-LCHlch(47.21, 72.08, 297.50°)
OKLaboklab(55.81% 0.0199 -0.1835)
OKLCHoklch(55.81% 0.185 276.2)
XYZxyz(21.7290, 16.1783, 70.3703)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B62DD #DDD65B
analogous
#5BA3DD #5B62DD #955BDD
triadic
#5B62DD #DD5B62 #62DD5B
tetradic
#5B62DD #DD5BA3 #DDD65B #5BDD95
square
#5B62DD #DD5BA3 #DDD65B #5BDD95
split-complementary
#5B62DD #DD955B #A3DD5B
monochromatic
#21279D #2B34D0 #5B62DD #8E93E8 #C0C3F2

Accessibility & contrast

On white

4.96
#5B62DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5B62DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B62DD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B62DD#FFFFFF#000000##FFFFFF
##5B62DD1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#007F96
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b62dd;
/* rgb */ color: rgb(91, 98, 221);
/* oklch */ color: oklch(55.8% 0.185 276.2);
Tailwind
colors: {
  custom: {
    50: '#958ee8',
    500: '#5b62dd',
    950: '#000000',
  },
}
SCSS
$custom: #5b62dd;
$custom-light: #958ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b62dd",
  "rgb": {
    "r": 91,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 236.769,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55808,
    "c": 0.18454,
    "h": 276.2
  },
  "luminance": 0.1618
}

Semantic roles & 50–950 ramp

primary
#5B62DD
secondary
#E2E0B1
accent
#C418CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5B62DD

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

Preview Lab → · Contrast checker → · Palette generator →

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