#5A8FE7#5A8FE7

#5A8FE7 is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.4% C 0.144 H 260.0°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5A8FE7
RGBrgb(90, 143, 231)
HSLhsl(217, 75%, 63%)
HSVhsv(217, 61%, 91%)
CMYKcmyk(61%, 38.1%, 0%, 9.4%)
CIE-LABlab(59.51, 9.01, -49.83)
CIE-LCHlch(59.51, 50.64, 280.25°)
OKLaboklab(65.36% -0.0249 -0.1415)
OKLCHoklch(65.36% 0.144 260)
XYZxyz(28.4576, 27.5855, 79.4107)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FE7 #E7B25A
analogous
#5AD5E7 #5A8FE7 #6B5AE7
triadic
#5A8FE7 #E75A8F #8FE75A
tetradic
#5A8FE7 #E75AD5 #E7B25A #5AE76B
square
#5A8FE7 #E75AD5 #E7B25A #5AE76B
split-complementary
#5A8FE7 #E76B5A #D5E75A
monochromatic
#1951AD #256BDF #5A8FE7 #8FB3EF #C5D8F7

Accessibility & contrast

On white

3.22
#5A8FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#5A8FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8FE7
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8FE7#FFFFFF#000000##000000
##5A8FE71.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6996EB
Deuteranopia (green-blind)
#5589E5
Tritanopia (blue-blind)
#00A3B0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5a8fe7;
/* rgb */ color: rgb(90, 143, 231);
/* oklch */ color: oklch(65.4% 0.144 260.0);
Tailwind
colors: {
  custom: {
    50: '#94afef',
    500: '#5a8fe7',
    950: '#000000',
  },
}
SCSS
$custom: #5a8fe7;
$custom-light: #94afef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8fe7",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 231
  },
  "hsl": {
    "h": 217.447,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65362,
    "c": 0.14372,
    "h": 260
  },
  "luminance": 0.27588
}

Semantic roles & 50–950 ramp

primary
#5A8FE7
secondary
#E8D5B5
accent
#8C0FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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