#5A9EF5#5A9EF5

#5A9EF5 is a light, vivid cyan. Relative luminance 0.332; OKLCH L 69.3% C 0.146 H 255.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5A9EF5
RGBrgb(90, 158, 245)
HSLhsl(214, 89%, 66%)
HSVhsv(214, 63%, 96%)
CMYKcmyk(63.3%, 35.5%, 0%, 3.9%)
CIE-LABlab(64.34, 4.86, -49.91)
CIE-LCHlch(64.34, 50.15, 275.56°)
OKLaboklab(69.35% -0.0368 -0.1416)
OKLCHoklch(69.35% 0.146 255.4)
XYZxyz(32.9188, 33.2168, 91.0452)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9EF5 #F5B15A
analogous
#5AECF5 #5A9EF5 #635AF5
triadic
#5A9EF5 #F55A9E #9EF55A
tetradic
#5A9EF5 #F55AEC #F5B15A #5AF563
square
#5A9EF5 #F55AEC #F5B15A #5AF563
split-complementary
#5A9EF5 #F5635A #ECF55A
monochromatic
#0C5FC8 #207CF2 #5A9EF5 #94C0F8 #CDE2FC

Accessibility & contrast

On white

2.75
#5A9EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#5A9EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9EF5
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9EF5#FFFFFF#000000##000000
##5A9EF51.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A4F9
Deuteranopia (green-blind)
#6395F3
Tritanopia (blue-blind)
#00B2BE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5a9ef5;
/* rgb */ color: rgb(90, 158, 245);
/* oklch */ color: oklch(69.3% 0.146 255.4);
Tailwind
colors: {
  custom: {
    50: '#96baf9',
    500: '#5a9ef5',
    950: '#000000',
  },
}
SCSS
$custom: #5a9ef5;
$custom-light: #96baf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9ef5",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 245
  },
  "hsl": {
    "h": 213.677,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69346,
    "c": 0.14629,
    "h": 255.4
  },
  "luminance": 0.3322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A9EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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