#5A8EF1#5A8EF1

#5A8EF1 is a light, vivid blue. Relative luminance 0.279; OKLCH L 65.7% C 0.158 H 262.1°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5A8EF1
RGBrgb(90, 142, 241)
HSLhsl(219, 84%, 65%)
HSVhsv(219, 63%, 95%)
CMYKcmyk(62.7%, 41.1%, 0%, 5.5%)
CIE-LABlab(59.77, 12.94, -54.96)
CIE-LCHlch(59.77, 56.46, 283.24°)
OKLaboklab(65.73% -0.0218 -0.1566)
OKLCHoklch(65.73% 0.158 262.1)
XYZxyz(29.7611, 27.8678, 87.0127)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EF1 #F1BD5A
analogous
#5AD9F1 #5A8EF1 #725AF1
triadic
#5A8EF1 #F15A8E #8EF15A
tetradic
#5A8EF1 #F15AD9 #F1BD5A #5AF172
square
#5A8EF1 #F15AD9 #F1BD5A #5AF172
split-complementary
#5A8EF1 #F1725A #D9F15A
monochromatic
#104DC0 #2267EC #5A8EF1 #92B5F6 #CBDBFB

Accessibility & contrast

On white

3.19
#5A8EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#5A8EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8EF1
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8EF1#FFFFFF#000000##000000
##5A8EF11.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F5
Deuteranopia (green-blind)
#4B8AEF
Tritanopia (blue-blind)
#00A4B4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a8ef1;
/* rgb */ color: rgb(90, 142, 241);
/* oklch */ color: oklch(65.7% 0.158 262.1);
Tailwind
colors: {
  custom: {
    50: '#96aef6',
    500: '#5a8ef1',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ef1;
$custom-light: #96aef6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ef1",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 241
  },
  "hsl": {
    "h": 219.338,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65733,
    "c": 0.15809,
    "h": 262.1
  },
  "luminance": 0.27871
}

Semantic roles & 50–950 ramp

primary
#5A8EF1
secondary
#EDDBBA
accent
#9505E1
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5A8EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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