#5A8CF0#5A8CF0

#5A8CF0 is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.3% C 0.159 H 262.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5A8CF0
RGBrgb(90, 140, 240)
HSLhsl(220, 83%, 65%)
HSVhsv(220, 63%, 94%)
CMYKcmyk(62.5%, 41.7%, 0%, 5.9%)
CIE-LABlab(59.18, 13.80, -55.35)
CIE-LCHlch(59.18, 57.05, 283.99°)
OKLaboklab(65.26% -0.02 -0.1577)
OKLCHoklch(65.26% 0.159 262.8)
XYZxyz(29.3172, 27.2184, 86.1299)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CF0 #F0BE5A
analogous
#5AD7F0 #5A8CF0 #735AF0
triadic
#5A8CF0 #F05A8C #8CF05A
tetradic
#5A8CF0 #F05AD7 #F0BE5A #5AF073
square
#5A8CF0 #F05AD7 #F0BE5A #5AF073
split-complementary
#5A8CF0 #F0735A #D7F05A
monochromatic
#114BBE #2265EB #5A8CF0 #92B3F5 #CADAFA

Accessibility & contrast

On white

3.26
#5A8CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#5A8CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CF0
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CF0#FFFFFF#000000##000000
##5A8CF01.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E96F4
Deuteranopia (green-blind)
#4888EE
Tritanopia (blue-blind)
#00A3B2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a8cf0;
/* rgb */ color: rgb(90, 140, 240);
/* oklch */ color: oklch(65.3% 0.159 262.8);
Tailwind
colors: {
  custom: {
    50: '#96adf5',
    500: '#5a8cf0',
    950: '#000000',
  },
}
SCSS
$custom: #5a8cf0;
$custom-light: #96adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8cf0",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 240
  },
  "hsl": {
    "h": 220,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65257,
    "c": 0.15902,
    "h": 262.8
  },
  "luminance": 0.27221
}

Semantic roles & 50–950 ramp

primary
#5A8CF0
secondary
#EDDBB9
accent
#9706E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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