#5A8BEE#5A8BEE

#5A8BEE is a light, vivid blue. Relative luminance 0.268; OKLCH L 64.9% C 0.157 H 262.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5A8BEE
RGBrgb(90, 139, 238)
HSLhsl(220, 81%, 64%)
HSVhsv(220, 62%, 93%)
CMYKcmyk(62.2%, 41.6%, 0%, 6.7%)
CIE-LABlab(58.80, 13.73, -54.85)
CIE-LCHlch(58.80, 56.54, 284.05°)
OKLaboklab(64.93% -0.0194 -0.1563)
OKLCHoklch(64.93% 0.157 262.9)
XYZxyz(28.8763, 26.8093, 84.5253)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8BEE #EEBD5A
analogous
#5AD5EE #5A8BEE #735AEE
triadic
#5A8BEE #EE5A8B #8BEE5A
tetradic
#5A8BEE #EE5AD5 #EEBD5A #5AEE73
square
#5A8BEE #EE5AD5 #EEBD5A #5AEE73
split-complementary
#5A8BEE #EE735A #D5EE5A
monochromatic
#134BBA #2364E8 #5A8BEE #91B2F4 #C9D9F9

Accessibility & contrast

On white

3.30
#5A8BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#5A8BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8BEE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8BEE#FFFFFF#000000##000000
##5A8BEE1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F2
Deuteranopia (green-blind)
#4887EC
Tritanopia (blue-blind)
#00A1B1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a8bee;
/* rgb */ color: rgb(90, 139, 238);
/* oklch */ color: oklch(64.9% 0.157 262.9);
Tailwind
colors: {
  custom: {
    50: '#95acf4',
    500: '#5a8bee',
    950: '#000000',
  },
}
SCSS
$custom: #5a8bee;
$custom-light: #95acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8bee",
  "rgb": {
    "r": 90,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 220.135,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6493,
    "c": 0.15749,
    "h": 262.9
  },
  "luminance": 0.26812
}

Semantic roles & 50–950 ramp

primary
#5A8BEE
secondary
#ECDBB8
accent
#9708DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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