#5A8BE7#5A8BE7

#5A8BE7 is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.5% C 0.148 H 261.9°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5A8BE7
RGBrgb(90, 139, 231)
HSLhsl(219, 75%, 63%)
HSVhsv(219, 61%, 91%)
CMYKcmyk(61%, 39.8%, 0%, 9.4%)
CIE-LABlab(58.42, 11.39, -51.57)
CIE-LCHlch(58.42, 52.81, 282.46°)
OKLaboklab(64.52% -0.0208 -0.1467)
OKLCHoklch(64.52% 0.148 261.9)
XYZxyz(27.8678, 26.4059, 79.2141)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8BE7 #E7B65A
analogous
#5AD1E7 #5A8BE7 #6F5AE7
triadic
#5A8BE7 #E75A8B #8BE75A
tetradic
#5A8BE7 #E75AD1 #E7B65A #5AE76F
square
#5A8BE7 #E75AD1 #E7B65A #5AE76F
split-complementary
#5A8BE7 #E76F5A #D1E75A
monochromatic
#194DAD #2565DF #5A8BE7 #8FB1EF #C5D6F7

Accessibility & contrast

On white

3.34
#5A8BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#5A8BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8BE7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8BE7#FFFFFF#000000##000000
##5A8BE71.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6394EB
Deuteranopia (green-blind)
#4F86E5
Tritanopia (blue-blind)
#00A0AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a8be7;
/* rgb */ color: rgb(90, 139, 231);
/* oklch */ color: oklch(64.5% 0.148 261.9);
Tailwind
colors: {
  custom: {
    50: '#94acef',
    500: '#5a8be7',
    950: '#000000',
  },
}
SCSS
$custom: #5a8be7;
$custom-light: #94acef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8be7",
  "rgb": {
    "r": 90,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 219.149,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64516,
    "c": 0.14813,
    "h": 261.9
  },
  "luminance": 0.26408
}

Semantic roles & 50–950 ramp

primary
#5A8BE7
secondary
#E8D6B5
accent
#910FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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