#5A8EF3#5A8EF3

#5A8EF3 is a light, vivid blue. Relative luminance 0.280; OKLCH L 65.9% C 0.161 H 262.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5A8EF3
RGBrgb(90, 142, 243)
HSLhsl(220, 86%, 65%)
HSVhsv(220, 63%, 95%)
CMYKcmyk(63%, 41.6%, 0%, 4.7%)
CIE-LABlab(59.88, 13.61, -55.89)
CIE-LCHlch(59.88, 57.52, 283.68°)
OKLaboklab(65.85% -0.0214 -0.1593)
OKLCHoklch(65.85% 0.161 262.3)
XYZxyz(30.0614, 27.9879, 88.5946)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EF3 #F3BF5A
analogous
#5ADAF3 #5A8EF3 #725AF3
triadic
#5A8EF3 #F35A8E #8EF35A
tetradic
#5A8EF3 #F35ADA #F3BF5A #5AF372
square
#5A8EF3 #F35ADA #F3BF5A #5AF372
split-complementary
#5A8EF3 #F3725A #DAF35A
monochromatic
#0E4CC4 #2167EF #5A8EF3 #93B5F7 #CCDCFB

Accessibility & contrast

On white

3.18
#5A8EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#5A8EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8EF3
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8EF3#FFFFFF#000000##000000
##5A8EF31.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F7
Deuteranopia (green-blind)
#498AF1
Tritanopia (blue-blind)
#00A5B5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5a8ef3;
/* rgb */ color: rgb(90, 142, 243);
/* oklch */ color: oklch(65.9% 0.161 262.3);
Tailwind
colors: {
  custom: {
    50: '#96aef7',
    500: '#5a8ef3',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ef3;
$custom-light: #96aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ef3",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 219.608,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65852,
    "c": 0.16075,
    "h": 262.3
  },
  "luminance": 0.27991
}

Semantic roles & 50–950 ramp

primary
#5A8EF3
secondary
#EEDDBB
accent
#9703E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A8EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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