#5A9DEC#5A9DEC

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

Color values

HEX#5A9DEC
RGBrgb(90, 157, 236)
HSLhsl(212, 79%, 64%)
HSVhsv(212, 62%, 93%)
CMYKcmyk(61.9%, 33.5%, 0%, 7.5%)
CIE-LABlab(63.62, 2.47, -46.10)
CIE-LCHlch(63.62, 46.16, 273.07°)
OKLaboklab(68.65% -0.038 -0.1305)
OKLCHoklch(68.65% 0.136 253.7)
XYZxyz(31.4083, 32.3408, 83.9278)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9DEC #ECA95A
analogous
#5AE6EC #5A9DEC #605AEC
triadic
#5A9DEC #EC5A9D #9DEC5A
tetradic
#5A9DEC #EC5AE6 #ECA95A #5AEC60
square
#5A9DEC #EC5AE6 #ECA95A #5AEC60
split-complementary
#5A9DEC #EC605A #E6EC5A
monochromatic
#155FB7 #237CE6 #5A9DEC #91BEF2 #C8DEF9

Accessibility & contrast

On white

2.81
#5A9DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#5A9DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9DEC
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9DEC#FFFFFF#000000##000000
##5A9DEC1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2EF
Deuteranopia (green-blind)
#6794EA
Tritanopia (blue-blind)
#00AFBA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5a9dec;
/* rgb */ color: rgb(90, 157, 236);
/* oklch */ color: oklch(68.6% 0.136 253.7);
Tailwind
colors: {
  custom: {
    50: '#95b9f2',
    500: '#5a9dec',
    950: '#000000',
  },
}
SCSS
$custom: #5a9dec;
$custom-light: #95b9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9dec",
  "rgb": {
    "r": 90,
    "g": 157,
    "b": 236
  },
  "hsl": {
    "h": 212.466,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68646,
    "c": 0.13591,
    "h": 253.7
  },
  "luminance": 0.32344
}

Semantic roles & 50–950 ramp

primary
#5A9DEC
secondary
#EBD3B7
accent
#7B0ADC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A9DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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