#5A9DEB#5A9DEB

#5A9DEB is a light, vivid cyan. Relative luminance 0.323; OKLCH L 68.6% C 0.135 H 253.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5A9DEB
RGBrgb(90, 157, 235)
HSLhsl(212, 78%, 64%)
HSVhsv(212, 62%, 92%)
CMYKcmyk(61.7%, 33.2%, 0%, 7.8%)
CIE-LABlab(63.58, 2.15, -45.62)
CIE-LCHlch(63.58, 45.67, 272.69°)
OKLaboklab(68.59% -0.0383 -0.1291)
OKLCHoklch(68.59% 0.135 253.5)
XYZxyz(31.2634, 32.2828, 83.1648)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9DEB #EBA85A
analogous
#5AE5EB #5A9DEB #5F5AEB
triadic
#5A9DEB #EB5A9D #9DEB5A
tetradic
#5A9DEB #EB5AE5 #EBA85A #5AEB5F
square
#5A9DEB #EB5AE5 #EBA85A #5AEB5F
split-complementary
#5A9DEB #EB5F5A #E5EB5A
monochromatic
#165FB5 #237DE4 #5A9DEB #91BDF2 #C7DEF8

Accessibility & contrast

On white

2.82
#5A9DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#5A9DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9DEB
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9DEB#FFFFFF#000000##000000
##5A9DEB1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EE
Deuteranopia (green-blind)
#6894E9
Tritanopia (blue-blind)
#00AFB9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5a9deb;
/* rgb */ color: rgb(90, 157, 235);
/* oklch */ color: oklch(68.6% 0.135 253.5);
Tailwind
colors: {
  custom: {
    50: '#95b9f2',
    500: '#5a9deb',
    950: '#000000',
  },
}
SCSS
$custom: #5a9deb;
$custom-light: #95b9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9deb",
  "rgb": {
    "r": 90,
    "g": 157,
    "b": 235
  },
  "hsl": {
    "h": 212.276,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68594,
    "c": 0.13465,
    "h": 253.5
  },
  "luminance": 0.32286
}

Semantic roles & 50–950 ramp

primary
#5A9DEB
secondary
#EAD2B7
accent
#7B0BDB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A9DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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