#5A8AF0#5A8AF0

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

Color values

HEX#5A8AF0
RGBrgb(90, 138, 240)
HSLhsl(221, 83%, 65%)
HSVhsv(221, 63%, 94%)
CMYKcmyk(62.5%, 42.5%, 0%, 5.9%)
CIE-LABlab(58.64, 14.99, -56.21)
CIE-LCHlch(58.64, 58.18, 284.94°)
OKLaboklab(64.84% -0.0181 -0.1603)
OKLCHoklch(64.84% 0.161 263.6)
XYZxyz(29.0276, 26.6392, 86.0333)
Luminance0.2664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8AF0 #F0C05A
analogous
#5AD5F0 #5A8AF0 #755AF0
triadic
#5A8AF0 #F05A8A #8AF05A
tetradic
#5A8AF0 #F05AD5 #F0C05A #5AF075
square
#5A8AF0 #F05AD5 #F0C05A #5AF075
split-complementary
#5A8AF0 #F0755A #D5F05A
monochromatic
#1149BE #2262EB #5A8AF0 #92B2F5 #CADAFA

Accessibility & contrast

On white

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

On black

6.33
#5A8AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8AF0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8AF0#FFFFFF#000000##000000
##5A8AF01.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F4
Deuteranopia (green-blind)
#4487EE
Tritanopia (blue-blind)
#00A1B1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a8af0;
/* rgb */ color: rgb(90, 138, 240);
/* oklch */ color: oklch(64.8% 0.161 263.6);
Tailwind
colors: {
  custom: {
    50: '#96abf5',
    500: '#5a8af0',
    950: '#000000',
  },
}
SCSS
$custom: #5a8af0;
$custom-light: #96abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8af0",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 240
  },
  "hsl": {
    "h": 220.8,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64843,
    "c": 0.16131,
    "h": 263.6
  },
  "luminance": 0.26642
}

Semantic roles & 50–950 ramp

primary
#5A8AF0
secondary
#EDDCB9
accent
#9A06E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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