#5A8FF2#5A8FF2

#5A8FF2 is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.0% C 0.158 H 261.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5A8FF2
RGBrgb(90, 143, 242)
HSLhsl(219, 85%, 65%)
HSVhsv(219, 63%, 95%)
CMYKcmyk(62.8%, 40.9%, 0%, 5.1%)
CIE-LABlab(60.09, 12.67, -55.00)
CIE-LCHlch(60.09, 56.44, 282.98°)
OKLaboklab(66% -0.0226 -0.1567)
OKLCHoklch(66% 0.158 261.8)
XYZxyz(30.0603, 28.2266, 87.8513)
Luminance0.2823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FF2 #F2BD5A
analogous
#5ADBF2 #5A8FF2 #715AF2
triadic
#5A8FF2 #F25A8F #8FF25A
tetradic
#5A8FF2 #F25ADB #F2BD5A #5AF271
square
#5A8FF2 #F25ADB #F2BD5A #5AF271
split-complementary
#5A8FF2 #F2715A #DBF25A
monochromatic
#0F4EC2 #2168EE #5A8FF2 #93B6F6 #CBDCFB

Accessibility & contrast

On white

3.16
#5A8FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#5A8FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8FF2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8FF2#FFFFFF#000000##000000
##5A8FF21.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F6
Deuteranopia (green-blind)
#4C8AF0
Tritanopia (blue-blind)
#00A5B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5a8ff2;
/* rgb */ color: rgb(90, 143, 242);
/* oklch */ color: oklch(66.0% 0.158 261.8);
Tailwind
colors: {
  custom: {
    50: '#96aff7',
    500: '#5a8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ff2;
$custom-light: #96aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ff2",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 219.079,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66,
    "c": 0.15829,
    "h": 261.8
  },
  "luminance": 0.28229
}

Semantic roles & 50–950 ramp

primary
#5A8FF2
secondary
#EEDCBA
accent
#9404E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5A8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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