#5A8BE4#5A8BE4

#5A8BE4 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.3% C 0.144 H 261.4°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5A8BE4
RGBrgb(90, 139, 228)
HSLhsl(219, 72%, 62%)
HSVhsv(219, 61%, 89%)
CMYKcmyk(60.5%, 39%, 0%, 10.6%)
CIE-LABlab(58.26, 10.40, -50.15)
CIE-LCHlch(58.26, 51.22, 281.71°)
OKLaboklab(64.34% -0.0214 -0.1425)
OKLCHoklch(64.34% 0.144 261.4)
XYZxyz(27.4478, 26.2379, 77.0017)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8BE4 #E4B35A
analogous
#5AD0E4 #5A8BE4 #6E5AE4
triadic
#5A8BE4 #E45A8B #8BE45A
tetradic
#5A8BE4 #E45AD0 #E4B35A #5AE46E
square
#5A8BE4 #E45AD0 #E4B35A #5AE46E
split-complementary
#5A8BE4 #E46E5A #D0E45A
monochromatic
#1C4DA8 #2566DB #5A8BE4 #8FB0ED #C3D5F5

Accessibility & contrast

On white

3.36
#5A8BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#5A8BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8BE4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8BE4#FFFFFF#000000##000000
##5A8BE41.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6493E8
Deuteranopia (green-blind)
#5186E2
Tritanopia (blue-blind)
#009FAC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a8be4;
/* rgb */ color: rgb(90, 139, 228);
/* oklch */ color: oklch(64.3% 0.144 261.4);
Tailwind
colors: {
  custom: {
    50: '#94aced',
    500: '#5a8be4',
    950: '#000000',
  },
}
SCSS
$custom: #5a8be4;
$custom-light: #94aced;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8be4",
  "rgb": {
    "r": 90,
    "g": 139,
    "b": 228
  },
  "hsl": {
    "h": 218.696,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64342,
    "c": 0.14411,
    "h": 261.4
  },
  "luminance": 0.2624
}

Semantic roles & 50–950 ramp

primary
#5A8BE4
secondary
#E6D4B4
accent
#8F12D4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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