#5A9EF7#5A9EF7

#5A9EF7 is a light, vivid cyan. Relative luminance 0.333; OKLCH L 69.5% C 0.149 H 255.9°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#5A9EF7
RGBrgb(90, 158, 247)
HSLhsl(214, 91%, 66%)
HSVhsv(214, 64%, 97%)
CMYKcmyk(63.6%, 36%, 0%, 3.1%)
CIE-LABlab(64.43, 5.52, -50.85)
CIE-LCHlch(64.43, 51.15, 276.19°)
OKLaboklab(69.46% -0.0363 -0.1443)
OKLCHoklch(69.46% 0.149 255.9)
XYZxyz(33.2258, 33.3396, 92.6618)
Luminance0.3334 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9EF7 #F7B35A
analogous
#5AECF7 #5A9EF7 #645AF7
triadic
#5A9EF7 #F75A9E #9EF75A
tetradic
#5A9EF7 #F75AEC #F7B35A #5AF764
square
#5A9EF7 #F75AEC #F7B35A #5AF764
split-complementary
#5A9EF7 #F7645A #ECF75A
monochromatic
#0A5ECD #207CF4 #5A9EF7 #94C0FA #CFE3FD

Accessibility & contrast

On white

2.74
#5A9EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#5A9EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9EF7
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9EF7#FFFFFF#000000##000000
##5A9EF71.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A4FB
Deuteranopia (green-blind)
#6195F5
Tritanopia (blue-blind)
#00B2BF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5a9ef7;
/* rgb */ color: rgb(90, 158, 247);
/* oklch */ color: oklch(69.5% 0.149 255.9);
Tailwind
colors: {
  custom: {
    50: '#96bafa',
    500: '#5a9ef7',
    950: '#000000',
  },
}
SCSS
$custom: #5a9ef7;
$custom-light: #96bafa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9ef7",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 247
  },
  "hsl": {
    "h": 214.013,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69455,
    "c": 0.14884,
    "h": 255.9
  },
  "luminance": 0.33343
}

Semantic roles & 50–950 ramp

primary
#5A9EF7
secondary
#F0DABD
accent
#8200E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A9EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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