#5A8AEF#5A8AEF

#5A8AEF is a light, vivid blue. Relative luminance 0.266; OKLCH L 64.8% C 0.160 H 263.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5A8AEF
RGBrgb(90, 138, 239)
HSLhsl(221, 82%, 65%)
HSVhsv(221, 62%, 94%)
CMYKcmyk(62.3%, 42.3%, 0%, 6.3%)
CIE-LABlab(58.58, 14.66, -55.75)
CIE-LCHlch(58.58, 57.64, 284.73°)
OKLaboklab(64.78% -0.0183 -0.1589)
OKLCHoklch(64.78% 0.16 263.4)
XYZxyz(28.8795, 26.5800, 85.2531)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8AEF #EFBF5A
analogous
#5AD5EF #5A8AEF #755AEF
triadic
#5A8AEF #EF5A8A #8AEF5A
tetradic
#5A8AEF #EF5AD5 #EFBF5A #5AEF75
square
#5A8AEF #EF5AD5 #EFBF5A #5AEF75
split-complementary
#5A8AEF #EF755A #D5EF5A
monochromatic
#1249BC #2262EA #5A8AEF #92B2F4 #CAD9FA

Accessibility & contrast

On white

3.32
#5A8AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#5A8AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8AEF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8AEF#FFFFFF#000000##000000
##5A8AEF1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F3
Deuteranopia (green-blind)
#4587ED
Tritanopia (blue-blind)
#00A1B1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a8aef;
/* rgb */ color: rgb(90, 138, 239);
/* oklch */ color: oklch(64.8% 0.160 263.4);
Tailwind
colors: {
  custom: {
    50: '#95abf5',
    500: '#5a8aef',
    950: '#000000',
  },
}
SCSS
$custom: #5a8aef;
$custom-light: #95abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8aef",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 220.671,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64782,
    "c": 0.15998,
    "h": 263.4
  },
  "luminance": 0.26583
}

Semantic roles & 50–950 ramp

primary
#5A8AEF
secondary
#ECDCB9
accent
#9907DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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