#5A9CEB#5A9CEB

#5A9CEB is a light, vivid cyan. Relative luminance 0.319; OKLCH L 68.4% C 0.136 H 254.0°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#5A9CEB
RGBrgb(90, 156, 235)
HSLhsl(213, 78%, 64%)
HSVhsv(213, 62%, 92%)
CMYKcmyk(61.7%, 33.6%, 0%, 7.8%)
CIE-LABlab(63.30, 2.72, -46.06)
CIE-LCHlch(63.30, 46.14, 273.38°)
OKLaboklab(68.38% -0.0373 -0.1304)
OKLCHoklch(68.38% 0.136 254)
XYZxyz(31.0949, 31.9458, 83.1086)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9CEB #EBA95A
analogous
#5AE4EB #5A9CEB #605AEB
triadic
#5A9CEB #EB5A9C #9CEB5A
tetradic
#5A9CEB #EB5AE4 #EBA95A #5AEB60
square
#5A9CEB #EB5AE4 #EBA95A #5AEB60
split-complementary
#5A9CEB #EB605A #E4EB5A
monochromatic
#165EB5 #237BE4 #5A9CEB #91BDF2 #C7DDF8

Accessibility & contrast

On white

2.84
#5A9CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#5A9CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9CEB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9CEB#FFFFFF#000000##000000
##5A9CEB1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1EE
Deuteranopia (green-blind)
#6793E9
Tritanopia (blue-blind)
#00AEB9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5a9ceb;
/* rgb */ color: rgb(90, 156, 235);
/* oklch */ color: oklch(68.4% 0.136 254.0);
Tailwind
colors: {
  custom: {
    50: '#95b8f2',
    500: '#5a9ceb',
    950: '#000000',
  },
}
SCSS
$custom: #5a9ceb;
$custom-light: #95b8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9ceb",
  "rgb": {
    "r": 90,
    "g": 156,
    "b": 235
  },
  "hsl": {
    "h": 212.69,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68376,
    "c": 0.1356,
    "h": 254
  },
  "luminance": 0.31949
}

Semantic roles & 50–950 ramp

primary
#5A9CEB
secondary
#EAD3B7
accent
#7C0BDB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A9CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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