#5A99EC#5A99EC

#5A99EC is a light, vivid cyan. Relative luminance 0.310; OKLCH L 67.8% C 0.140 H 255.9°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#5A99EC
RGBrgb(90, 153, 236)
HSLhsl(214, 79%, 64%)
HSVhsv(214, 62%, 93%)
CMYKcmyk(61.9%, 35.2%, 0%, 7.5%)
CIE-LABlab(62.52, 4.79, -47.84)
CIE-LCHlch(62.52, 48.08, 275.72°)
OKLaboklab(67.78% -0.034 -0.1356)
OKLCHoklch(67.78% 0.14 255.9)
XYZxyz(30.7426, 31.0094, 83.7059)
Luminance0.3101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A99EC #ECAD5A
analogous
#5AE2EC #5A99EC #645AEC
triadic
#5A99EC #EC5A99 #99EC5A
tetradic
#5A99EC #EC5AE2 #ECAD5A #5AEC64
square
#5A99EC #EC5AE2 #ECAD5A #5AEC64
split-complementary
#5A99EC #EC645A #E2EC5A
monochromatic
#155BB7 #2377E6 #5A99EC #91BBF2 #C8DDF9

Accessibility & contrast

On white

2.92
#5A99EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#5A99EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A99EC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A99EC#FFFFFF#000000##000000
##5A99EC1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FEF
Deuteranopia (green-blind)
#6191EA
Tritanopia (blue-blind)
#00ACB7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5a99ec;
/* rgb */ color: rgb(90, 153, 236);
/* oklch */ color: oklch(67.8% 0.140 255.9);
Tailwind
colors: {
  custom: {
    50: '#95b6f2',
    500: '#5a99ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a99ec;
$custom-light: #95b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a99ec",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 214.11,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67781,
    "c": 0.1398,
    "h": 255.9
  },
  "luminance": 0.31012
}

Semantic roles & 50–950 ramp

primary
#5A99EC
secondary
#EBD4B7
accent
#810ADC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A99EC

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

Preview Lab → · Contrast checker → · Palette generator →

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