#5A8FE2#5A8FE2

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

Color values

HEX#5A8FE2
RGBrgb(90, 143, 226)
HSLhsl(217, 70%, 62%)
HSVhsv(217, 60%, 89%)
CMYKcmyk(60.2%, 36.7%, 0%, 11.4%)
CIE-LABlab(59.26, 7.36, -47.46)
CIE-LCHlch(59.26, 48.03, 278.81°)
OKLaboklab(65.08% -0.026 -0.1346)
OKLCHoklch(65.08% 0.137 259)
XYZxyz(27.7615, 27.3071, 75.7446)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FE2 #E2AD5A
analogous
#5AD3E2 #5A8FE2 #695AE2
triadic
#5A8FE2 #E25A8F #8FE25A
tetradic
#5A8FE2 #E25AD3 #E2AD5A #5AE269
square
#5A8FE2 #E25AD3 #E2AD5A #5AE269
split-complementary
#5A8FE2 #E2695A #D3E25A
monochromatic
#1D52A5 #266CD9 #5A8FE2 #8EB2EB #C2D6F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A8FE2#FFFFFF#000000##000000
##5A8FE21.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)
#6C96E5
Deuteranopia (green-blind)
#5989E0
Tritanopia (blue-blind)
#00A2AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5a8fe2;
/* rgb */ color: rgb(90, 143, 226);
/* oklch */ color: oklch(65.1% 0.137 259.0);
Tailwind
colors: {
  custom: {
    50: '#93afeb',
    500: '#5a8fe2',
    950: '#000000',
  },
}
SCSS
$custom: #5a8fe2;
$custom-light: #93afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8fe2",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 226
  },
  "hsl": {
    "h": 216.618,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65081,
    "c": 0.13709,
    "h": 259
  },
  "luminance": 0.2731
}

Semantic roles & 50–950 ramp

primary
#5A8FE2
secondary
#E5D1B3
accent
#8813D2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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