#5A9BF5#5A9BF5

#5A9BF5 is a light, vivid cyan. Relative luminance 0.322; OKLCH L 68.7% C 0.149 H 256.9°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5A9BF5
RGBrgb(90, 155, 245)
HSLhsl(215, 89%, 66%)
HSVhsv(215, 63%, 96%)
CMYKcmyk(63.3%, 36.7%, 0%, 3.9%)
CIE-LABlab(63.51, 6.60, -51.21)
CIE-LCHlch(63.51, 51.64, 277.34°)
OKLaboklab(68.7% -0.0338 -0.1454)
OKLCHoklch(68.7% 0.149 256.9)
XYZxyz(32.4133, 32.2058, 90.8767)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9BF5 #F5B45A
analogous
#5AE8F5 #5A9BF5 #665AF5
triadic
#5A9BF5 #F55A9B #9BF55A
tetradic
#5A9BF5 #F55AE8 #F5B45A #5AF566
square
#5A9BF5 #F55AE8 #F5B45A #5AF566
split-complementary
#5A9BF5 #F5665A #E8F55A
monochromatic
#0C5BC8 #2078F2 #5A9BF5 #94BEF8 #CDE1FC

Accessibility & contrast

On white

2.82
#5A9BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#5A9BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9BF5
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9BF5#FFFFFF#000000##000000
##5A9BF51.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A2F9
Deuteranopia (green-blind)
#5E93F3
Tritanopia (blue-blind)
#00B0BC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5a9bf5;
/* rgb */ color: rgb(90, 155, 245);
/* oklch */ color: oklch(68.7% 0.149 256.9);
Tailwind
colors: {
  custom: {
    50: '#96b8f9',
    500: '#5a9bf5',
    950: '#000000',
  },
}
SCSS
$custom: #5a9bf5;
$custom-light: #96b8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9bf5",
  "rgb": {
    "r": 90,
    "g": 155,
    "b": 245
  },
  "hsl": {
    "h": 214.839,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68704,
    "c": 0.14932,
    "h": 256.9
  },
  "luminance": 0.32209
}

Semantic roles & 50–950 ramp

primary
#5A9BF5
secondary
#EFDABC
accent
#8500E5
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A9BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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