#5A9CF5#5A9CF5

#5A9CF5 is a light, vivid cyan. Relative luminance 0.325; OKLCH L 68.9% C 0.148 H 256.4°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5A9CF5
RGBrgb(90, 156, 245)
HSLhsl(214, 89%, 66%)
HSVhsv(214, 63%, 96%)
CMYKcmyk(63.3%, 36.3%, 0%, 3.9%)
CIE-LABlab(63.79, 6.02, -50.78)
CIE-LCHlch(63.79, 51.13, 276.76°)
OKLaboklab(68.92% -0.0348 -0.1442)
OKLCHoklch(68.92% 0.148 256.4)
XYZxyz(32.5804, 32.5400, 90.9324)
Luminance0.3254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9CF5 #F5B35A
analogous
#5AE9F5 #5A9CF5 #665AF5
triadic
#5A9CF5 #F55A9C #9CF55A
tetradic
#5A9CF5 #F55AE9 #F5B35A #5AF566
square
#5A9CF5 #F55AE9 #F5B35A #5AF566
split-complementary
#5A9CF5 #F5665A #E9F55A
monochromatic
#0C5CC8 #2079F2 #5A9CF5 #94BFF8 #CDE1FC

Accessibility & contrast

On white

2.80
#5A9CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#5A9CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9CF5
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9CF5#FFFFFF#000000##000000
##5A9CF51.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A2F9
Deuteranopia (green-blind)
#5F94F3
Tritanopia (blue-blind)
#00B0BD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5a9cf5;
/* rgb */ color: rgb(90, 156, 245);
/* oklch */ color: oklch(68.9% 0.148 256.4);
Tailwind
colors: {
  custom: {
    50: '#96b8f9',
    500: '#5a9cf5',
    950: '#000000',
  },
}
SCSS
$custom: #5a9cf5;
$custom-light: #96b8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9cf5",
  "rgb": {
    "r": 90,
    "g": 156,
    "b": 245
  },
  "hsl": {
    "h": 214.452,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68918,
    "c": 0.1483,
    "h": 256.4
  },
  "luminance": 0.32543
}

Semantic roles & 50–950 ramp

primary
#5A9CF5
secondary
#EFD9BC
accent
#8400E5
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A9CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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