#5A8FE1#5A8FE1

#5A8FE1 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.0% C 0.136 H 258.8°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5A8FE1
RGBrgb(90, 143, 225)
HSLhsl(216, 69%, 62%)
HSVhsv(216, 60%, 88%)
CMYKcmyk(60%, 36.4%, 0%, 11.8%)
CIE-LABlab(59.21, 7.03, -46.98)
CIE-LCHlch(59.21, 47.50, 278.51°)
OKLaboklab(65.03% -0.0263 -0.1332)
OKLCHoklch(65.03% 0.136 258.8)
XYZxyz(27.6247, 27.2524, 75.0240)
Luminance0.2726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FE1 #E1AC5A
analogous
#5AD3E1 #5A8FE1 #685AE1
triadic
#5A8FE1 #E15A8F #8FE15A
tetradic
#5A8FE1 #E15AD3 #E1AC5A #5AE168
square
#5A8FE1 #E15AD3 #E1AC5A #5AE168
split-complementary
#5A8FE1 #E1685A #D3E15A
monochromatic
#1E52A3 #276CD7 #5A8FE1 #8EB2EA #C2D5F4

Accessibility & contrast

On white

3.26
#5A8FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#5A8FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8FE1
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8FE1#FFFFFF#000000##000000
##5A8FE11.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C95E4
Deuteranopia (green-blind)
#5A89DF
Tritanopia (blue-blind)
#00A1AD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5a8fe1;
/* rgb */ color: rgb(90, 143, 225);
/* oklch */ color: oklch(65.0% 0.136 258.8);
Tailwind
colors: {
  custom: {
    50: '#93afeb',
    500: '#5a8fe1',
    950: '#000000',
  },
}
SCSS
$custom: #5a8fe1;
$custom-light: #93afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8fe1",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 225
  },
  "hsl": {
    "h": 216.444,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65025,
    "c": 0.13577,
    "h": 258.8
  },
  "luminance": 0.27255
}

Semantic roles & 50–950 ramp

primary
#5A8FE1
secondary
#E4D1B2
accent
#8714D1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5A8FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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