#5A9EEB#5A9EEB

#5A9EEB is a light, vivid cyan. Relative luminance 0.326; OKLCH L 68.8% C 0.134 H 252.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5A9EEB
RGBrgb(90, 158, 235)
HSLhsl(212, 78%, 64%)
HSVhsv(212, 62%, 92%)
CMYKcmyk(61.7%, 32.8%, 0%, 7.8%)
CIE-LABlab(63.85, 1.57, -45.18)
CIE-LCHlch(63.85, 45.21, 271.99°)
OKLaboklab(68.81% -0.0393 -0.1278)
OKLCHoklch(68.81% 0.134 252.9)
XYZxyz(31.4333, 32.6226, 83.2214)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9EEB #EBA75A
analogous
#5AE6EB #5A9EEB #5E5AEB
triadic
#5A9EEB #EB5A9E #9EEB5A
tetradic
#5A9EEB #EB5AE6 #EBA75A #5AEB5E
square
#5A9EEB #EB5AE6 #EBA75A #5AEB5E
split-complementary
#5A9EEB #EB5E5A #E6EB5A
monochromatic
#1660B5 #237EE4 #5A9EEB #91BEF2 #C7DEF8

Accessibility & contrast

On white

2.79
#5A9EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#5A9EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9EEB
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9EEB#FFFFFF#000000##000000
##5A9EEB1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2EE
Deuteranopia (green-blind)
#6994E9
Tritanopia (blue-blind)
#00B0BA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5a9eeb;
/* rgb */ color: rgb(90, 158, 235);
/* oklch */ color: oklch(68.8% 0.134 252.9);
Tailwind
colors: {
  custom: {
    50: '#95baf2',
    500: '#5a9eeb',
    950: '#000000',
  },
}
SCSS
$custom: #5a9eeb;
$custom-light: #95baf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9eeb",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 235
  },
  "hsl": {
    "h": 211.862,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68811,
    "c": 0.13372,
    "h": 252.9
  },
  "luminance": 0.32626
}

Semantic roles & 50–950 ramp

primary
#5A9EEB
secondary
#EAD2B7
accent
#790BDB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A9EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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