#5A9AF2#5A9AF2

#5A9AF2 is a light, vivid cyan. Relative luminance 0.317; OKLCH L 68.3% C 0.146 H 256.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5A9AF2
RGBrgb(90, 154, 242)
HSLhsl(215, 85%, 65%)
HSVhsv(215, 63%, 95%)
CMYKcmyk(62.8%, 36.4%, 0%, 5.1%)
CIE-LABlab(63.09, 6.19, -50.24)
CIE-LCHlch(63.09, 50.62, 277.02°)
OKLaboklab(68.32% -0.0335 -0.1426)
OKLCHoklch(68.32% 0.146 256.8)
XYZxyz(31.7933, 31.6926, 88.4290)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9AF2 #F2B25A
analogous
#5AE6F2 #5A9AF2 #665AF2
triadic
#5A9AF2 #F25A9A #9AF25A
tetradic
#5A9AF2 #F25AE6 #F2B25A #5AF266
square
#5A9AF2 #F25AE6 #F2B25A #5AF266
split-complementary
#5A9AF2 #F2665A #E6F25A
monochromatic
#0F5BC2 #2177EE #5A9AF2 #93BDF6 #CBDFFB

Accessibility & contrast

On white

2.86
#5A9AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#5A9AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9AF2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9AF2#FFFFFF#000000##000000
##5A9AF21.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F6
Deuteranopia (green-blind)
#5F92F0
Tritanopia (blue-blind)
#00AEBA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5a9af2;
/* rgb */ color: rgb(90, 154, 242);
/* oklch */ color: oklch(68.3% 0.146 256.8);
Tailwind
colors: {
  custom: {
    50: '#96b7f7',
    500: '#5a9af2',
    950: '#000000',
  },
}
SCSS
$custom: #5a9af2;
$custom-light: #96b7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9af2",
  "rgb": {
    "r": 90,
    "g": 154,
    "b": 242
  },
  "hsl": {
    "h": 214.737,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68324,
    "c": 0.14649,
    "h": 256.8
  },
  "luminance": 0.31696
}

Semantic roles & 50–950 ramp

primary
#5A9AF2
secondary
#EED8BA
accent
#8404E2
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A9AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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