#5A8BED#5A8BED

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

Color values

HEX#5A8BED
RGBrgb(90, 139, 237)
HSLhsl(220, 80%, 64%)
HSVhsv(220, 62%, 93%)
CMYKcmyk(62%, 41.4%, 0%, 7.1%)
CIE-LABlab(58.74, 13.39, -54.38)
CIE-LCHlch(58.74, 56.01, 283.83°)
OKLaboklab(64.87% -0.0196 -0.1549)
OKLCHoklch(64.87% 0.156 262.8)
XYZxyz(28.7298, 26.7507, 83.7537)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8BED #EDBC5A
analogous
#5AD5ED #5A8BED #735AED
triadic
#5A8BED #ED5A8B #8BED5A
tetradic
#5A8BED #ED5AD5 #EDBC5A #5AED73
square
#5A8BED #ED5AD5 #EDBC5A #5AED73
split-complementary
#5A8BED #ED735A #D5ED5A
monochromatic
#144BB8 #2364E7 #5A8BED #91B2F3 #C8D9F9

Accessibility & contrast

On white

3.31
#5A8BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#5A8BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8BED
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8BED#FFFFFF#000000##000000
##5A8BED1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F1
Deuteranopia (green-blind)
#4987EB
Tritanopia (blue-blind)
#00A1B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a8bed;
/* rgb */ color: rgb(90, 139, 237);
/* oklch */ color: oklch(64.9% 0.156 262.8);
Tailwind
colors: {
  custom: {
    50: '#95acf3',
    500: '#5a8bed',
    950: '#000000',
  },
}
SCSS
$custom: #5a8bed;
$custom-light: #95acf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8bed",
  "rgb": {
    "r": 90,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 220,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6487,
    "c": 0.15616,
    "h": 262.8
  },
  "luminance": 0.26753
}

Semantic roles & 50–950 ramp

primary
#5A8BED
secondary
#EBDAB8
accent
#9609DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8BED

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

Preview Lab → · Contrast checker → · Palette generator →

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