#5A8CF1#5A8CF1

#5A8CF1 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.3% C 0.160 H 262.9°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5A8CF1
RGBrgb(90, 140, 241)
HSLhsl(220, 84%, 65%)
HSVhsv(220, 63%, 95%)
CMYKcmyk(62.7%, 41.9%, 0%, 5.5%)
CIE-LABlab(59.23, 14.13, -55.82)
CIE-LCHlch(59.23, 57.58, 284.21°)
OKLaboklab(65.32% -0.0199 -0.1591)
OKLCHoklch(65.32% 0.16 262.9)
XYZxyz(29.4662, 27.2780, 86.9144)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8CF1 #F1BF5A
analogous
#5AD8F1 #5A8CF1 #735AF1
triadic
#5A8CF1 #F15A8C #8CF15A
tetradic
#5A8CF1 #F15AD8 #F1BF5A #5AF173
square
#5A8CF1 #F15AD8 #F1BF5A #5AF173
split-complementary
#5A8CF1 #F1735A #D8F15A
monochromatic
#104BC0 #2265EC #5A8CF1 #92B3F6 #CBDBFB

Accessibility & contrast

On white

3.25
#5A8CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#5A8CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8CF1
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8CF1#FFFFFF#000000##000000
##5A8CF11.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E96F5
Deuteranopia (green-blind)
#4788EF
Tritanopia (blue-blind)
#00A3B3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5a8cf1;
/* rgb */ color: rgb(90, 140, 241);
/* oklch */ color: oklch(65.3% 0.160 262.9);
Tailwind
colors: {
  custom: {
    50: '#96adf6',
    500: '#5a8cf1',
    950: '#000000',
  },
}
SCSS
$custom: #5a8cf1;
$custom-light: #96adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8cf1",
  "rgb": {
    "r": 90,
    "g": 140,
    "b": 241
  },
  "hsl": {
    "h": 220.132,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65317,
    "c": 0.16036,
    "h": 262.9
  },
  "luminance": 0.27281
}

Semantic roles & 50–950 ramp

primary
#5A8CF1
secondary
#EDDCBA
accent
#9805E1
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A8CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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