#5A8BEF#5A8BEF

#5A8BEF is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.0% C 0.159 H 263.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5A8BEF
RGBrgb(90, 139, 239)
HSLhsl(220, 82%, 65%)
HSVhsv(220, 62%, 94%)
CMYKcmyk(62.3%, 41.8%, 0%, 6.3%)
CIE-LABlab(58.85, 14.06, -55.32)
CIE-LCHlch(58.85, 57.08, 284.26°)
OKLaboklab(64.99% -0.0192 -0.1577)
OKLCHoklch(64.99% 0.159 263)
XYZxyz(29.0236, 26.8682, 85.3012)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8BEF #EFBE5A
analogous
#5AD6EF #5A8BEF #735AEF
triadic
#5A8BEF #EF5A8B #8BEF5A
tetradic
#5A8BEF #EF5AD6 #EFBE5A #5AEF73
square
#5A8BEF #EF5AD6 #EFBE5A #5AEF73
split-complementary
#5A8BEF #EF735A #D6EF5A
monochromatic
#124ABC #2264EA #5A8BEF #92B2F4 #CAD9FA

Accessibility & contrast

On white

3.29
#5A8BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#5A8BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8BEF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8BEF#FFFFFF#000000##000000
##5A8BEF1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#4787ED
Tritanopia (blue-blind)
#00A2B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a8bef;
/* rgb */ color: rgb(90, 139, 239);
/* oklch */ color: oklch(65.0% 0.159 263.0);
Tailwind
colors: {
  custom: {
    50: '#95acf5',
    500: '#5a8bef',
    950: '#000000',
  },
}
SCSS
$custom: #5a8bef;
$custom-light: #95acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8bef",
  "rgb": {
    "r": 90,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 220.268,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6499,
    "c": 0.15883,
    "h": 263
  },
  "luminance": 0.26871
}

Semantic roles & 50–950 ramp

primary
#5A8BEF
secondary
#ECDBB9
accent
#9807DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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