#5A9FEC#5A9FEC

#5A9FEC is a light, vivid cyan. Relative luminance 0.330; OKLCH L 69.1% C 0.134 H 252.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5A9FEC
RGBrgb(90, 159, 236)
HSLhsl(212, 79%, 64%)
HSVhsv(212, 62%, 93%)
CMYKcmyk(61.9%, 32.6%, 0%, 7.5%)
CIE-LABlab(64.18, 1.32, -45.22)
CIE-LCHlch(64.18, 45.24, 271.68°)
OKLaboklab(69.08% -0.0401 -0.1279)
OKLCHoklch(69.08% 0.134 252.6)
XYZxyz(31.7494, 33.0231, 84.0415)
Luminance0.3303 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9FEC #ECA75A
analogous
#5AE8EC #5A9FEC #5E5AEC
triadic
#5A9FEC #EC5A9F #9FEC5A
tetradic
#5A9FEC #EC5AE8 #ECA75A #5AEC5E
square
#5A9FEC #EC5AE8 #ECA75A #5AEC5E
split-complementary
#5A9FEC #EC5E5A #E8EC5A
monochromatic
#1561B7 #237FE6 #5A9FEC #91BFF2 #C8DFF9

Accessibility & contrast

On white

2.76
#5A9FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#5A9FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9FEC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9FEC#FFFFFF#000000##000000
##5A9FEC1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EF
Deuteranopia (green-blind)
#6A95EA
Tritanopia (blue-blind)
#00B1BB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5a9fec;
/* rgb */ color: rgb(90, 159, 236);
/* oklch */ color: oklch(69.1% 0.134 252.6);
Tailwind
colors: {
  custom: {
    50: '#95bbf2',
    500: '#5a9fec',
    950: '#000000',
  },
}
SCSS
$custom: #5a9fec;
$custom-light: #95bbf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9fec",
  "rgb": {
    "r": 90,
    "g": 159,
    "b": 236
  },
  "hsl": {
    "h": 211.644,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69082,
    "c": 0.13404,
    "h": 252.6
  },
  "luminance": 0.33026
}

Semantic roles & 50–950 ramp

primary
#5A9FEC
secondary
#EBD2B7
accent
#780ADC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A9FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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