#5AA1F2#5AA1F2

#5AA1F2 is a light, vivid cyan. Relative luminance 0.341; OKLCH L 69.8% C 0.140 H 253.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#5AA1F2
RGBrgb(90, 161, 242)
HSLhsl(212, 85%, 65%)
HSVhsv(212, 63%, 95%)
CMYKcmyk(62.8%, 33.5%, 0%, 5.1%)
CIE-LABlab(65.02, 2.14, -47.19)
CIE-LCHlch(65.02, 47.24, 272.60°)
OKLaboklab(69.83% -0.0405 -0.1336)
OKLCHoklch(69.83% 0.14 253.1)
XYZxyz(32.9825, 34.0710, 88.8254)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA1F2 #F2AB5A
analogous
#5AEDF2 #5AA1F2 #5F5AF2
triadic
#5AA1F2 #F25AA1 #A1F25A
tetradic
#5AA1F2 #F25AED #F2AB5A #5AF25F
square
#5AA1F2 #F25AED #F2AB5A #5AF25F
split-complementary
#5AA1F2 #F25F5A #EDF25A
monochromatic
#0F63C2 #2181EE #5AA1F2 #93C1F6 #CBE2FB

Accessibility & contrast

On white

2.69
#5AA1F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#5AA1F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA1F2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA1F2#FFFFFF#000000##000000
##5AA1F21.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F5
Deuteranopia (green-blind)
#6997F0
Tritanopia (blue-blind)
#00B4BE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5aa1f2;
/* rgb */ color: rgb(90, 161, 242);
/* oklch */ color: oklch(69.8% 0.140 253.1);
Tailwind
colors: {
  custom: {
    50: '#96bcf6',
    500: '#5aa1f2',
    950: '#000000',
  },
}
SCSS
$custom: #5aa1f2;
$custom-light: #96bcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa1f2",
  "rgb": {
    "r": 90,
    "g": 161,
    "b": 242
  },
  "hsl": {
    "h": 211.974,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69832,
    "c": 0.13964,
    "h": 253.1
  },
  "luminance": 0.34074
}

Semantic roles & 50–950 ramp

primary
#5AA1F2
secondary
#EED6BA
accent
#7A04E2
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1217
muted
#7E8185

Preview Lab

Preview with #5AA1F2

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

Preview Lab → · Contrast checker → · Palette generator →

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