#5A8BD2#5A8BD2

#5A8BD2 is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.3% C 0.120 H 257.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5A8BD2
RGBrgb(90, 139, 210)
HSLhsl(216, 57%, 59%)
HSVhsv(216, 57%, 82%)
CMYKcmyk(57.1%, 33.8%, 0%, 17.6%)
CIE-LABlab(57.36, 4.50, -41.51)
CIE-LCHlch(57.36, 41.75, 276.19°)
OKLaboklab(63.34% -0.0257 -0.1173)
OKLCHoklch(63.34% 0.12 257.6)
XYZxyz(25.0779, 25.2899, 64.5202)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8BD2 #D2A15A
analogous
#5AC7D2 #5A8BD2 #655AD2
triadic
#5A8BD2 #D25A8B #8BD25A
tetradic
#5A8BD2 #D25AC7 #D2A15A #5AD265
square
#5A8BD2 #D25AC7 #D2A15A #5AD265
split-complementary
#5A8BD2 #D2655A #C7D25A
monochromatic
#264F8C #336BBC #5A8BD2 #8AADDF #BACFEC

Accessibility & contrast

On white

3.47
#5A8BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#5A8BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8BD2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8BD2#FFFFFF#000000##000000
##5A8BD21.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E90D5
Deuteranopia (green-blind)
#5E85D1
Tritanopia (blue-blind)
#009BA5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5a8bd2;
/* rgb */ color: rgb(90, 139, 210);
/* oklch */ color: oklch(63.3% 0.120 257.6);
Tailwind
colors: {
  custom: {
    50: '#91ace0',
    500: '#5a8bd2',
    950: '#000000',
  },
}
SCSS
$custom: #5a8bd2;
$custom-light: #91ace0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8bd2",
  "rgb": {
    "r": 90,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 215.5,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63343,
    "c": 0.12005,
    "h": 257.6
  },
  "luminance": 0.25292
}

Semantic roles & 50–950 ramp

primary
#5A8BD2
secondary
#DCC8AC
accent
#A247E0
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5A8BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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