#5A9CEF#5A9CEF

#5A9CEF is a light, vivid cyan. Relative luminance 0.322; OKLCH L 68.6% C 0.141 H 255.1°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5A9CEF
RGBrgb(90, 156, 239)
HSLhsl(213, 82%, 65%)
HSVhsv(213, 62%, 94%)
CMYKcmyk(62.3%, 34.7%, 0%, 6.3%)
CIE-LABlab(63.49, 4.04, -47.95)
CIE-LCHlch(63.49, 48.12, 274.81°)
OKLaboklab(68.59% -0.0363 -0.1359)
OKLCHoklch(68.59% 0.141 255.1)
XYZxyz(31.6793, 32.1796, 86.1864)
Luminance0.3218 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9CEF #EFAD5A
analogous
#5AE6EF #5A9CEF #635AEF
triadic
#5A9CEF #EF5A9C #9CEF5A
tetradic
#5A9CEF #EF5AE6 #EFAD5A #5AEF63
square
#5A9CEF #EF5AE6 #EFAD5A #5AEF63
split-complementary
#5A9CEF #EF635A #E6EF5A
monochromatic
#125EBC #227BEA #5A9CEF #92BDF4 #CADFFA

Accessibility & contrast

On white

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

On black

7.44
#5A9CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9CEF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9CEF#FFFFFF#000000##000000
##5A9CEF1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F2
Deuteranopia (green-blind)
#6493ED
Tritanopia (blue-blind)
#00AFBA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5a9cef;
/* rgb */ color: rgb(90, 156, 239);
/* oklch */ color: oklch(68.6% 0.141 255.1);
Tailwind
colors: {
  custom: {
    50: '#95b8f4',
    500: '#5a9cef',
    950: '#000000',
  },
}
SCSS
$custom: #5a9cef;
$custom-light: #95b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9cef",
  "rgb": {
    "r": 90,
    "g": 156,
    "b": 239
  },
  "hsl": {
    "h": 213.423,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6859,
    "c": 0.14066,
    "h": 255.1
  },
  "luminance": 0.32183
}

Semantic roles & 50–950 ramp

primary
#5A9CEF
secondary
#ECD5B9
accent
#7F07DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A9CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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