#5A62CD#5A62CD

#5A62CD is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.163 H 276.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5A62CD
RGBrgb(90, 98, 205)
HSLhsl(236, 53%, 58%)
HSVhsv(236, 56%, 80%)
CMYKcmyk(56.1%, 52.2%, 0%, 19.6%)
CIE-LABlab(46.06, 27.89, -56.66)
CIE-LCHlch(46.06, 63.15, 296.20°)
OKLaboklab(54.59% 0.018 -0.1621)
OKLCHoklch(54.59% 0.163 276.3)
XYZxyz(19.6000, 15.3154, 59.6691)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A62CD #CDC55A
analogous
#5A9BCD #5A62CD #8B5ACD
triadic
#5A62CD #CD5A62 #62CD5A
tetradic
#5A62CD #CD5A9B #CDC55A #5ACD8B
square
#5A62CD #CD5A9B #CDC55A #5ACD8B
split-complementary
#5A62CD #CD8B5A #9BCD5A
monochromatic
#282F84 #363FB3 #5A62CD #898FDB #B8BBE9

Accessibility & contrast

On white

5.17
#5A62CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5A62CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A62CD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A62CD#FFFFFF#000000##FFFFFF
##5A62CD1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2672D1
Deuteranopia (green-blind)
#0B68CB
Tritanopia (blue-blind)
#197A8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a62cd;
/* rgb */ color: rgb(90, 98, 205);
/* oklch */ color: oklch(54.6% 0.163 276.3);
Tailwind
colors: {
  custom: {
    50: '#928edd',
    500: '#5a62cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a62cd;
$custom-light: #928edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a62cd",
  "rgb": {
    "r": 90,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 235.826,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54592,
    "c": 0.16308,
    "h": 276.3
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

primary
#5A62CD
secondary
#D8D5AA
accent
#D34BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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