#5AA1F7#5AA1F7

#5AA1F7 is a light, vivid cyan. Relative luminance 0.344; OKLCH L 70.1% C 0.146 H 254.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5AA1F7
RGBrgb(90, 161, 247)
HSLhsl(213, 91%, 66%)
HSVhsv(213, 64%, 97%)
CMYKcmyk(63.6%, 34.8%, 0%, 3.1%)
CIE-LABlab(65.26, 3.79, -49.54)
CIE-LCHlch(65.26, 49.69, 274.37°)
OKLaboklab(70.1% -0.0393 -0.1405)
OKLCHoklch(70.1% 0.146 254.4)
XYZxyz(33.7437, 34.3755, 92.8345)
Luminance0.3438 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA1F7 #F7B05A
analogous
#5AF0F7 #5AA1F7 #615AF7
triadic
#5AA1F7 #F75AA1 #A1F75A
tetradic
#5AA1F7 #F75AF0 #F7B05A #5AF761
square
#5AA1F7 #F75AF0 #F7B05A #5AF761
split-complementary
#5AA1F7 #F7615A #F0F75A
monochromatic
#0A62CD #2080F4 #5AA1F7 #94C2FA #CFE4FD

Accessibility & contrast

On white

2.67
#5AA1F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#5AA1F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA1F7
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA1F7#FFFFFF#000000##000000
##5AA1F71.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FB
Deuteranopia (green-blind)
#6698F5
Tritanopia (blue-blind)
#00B5C0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5aa1f7;
/* rgb */ color: rgb(90, 161, 247);
/* oklch */ color: oklch(70.1% 0.146 254.4);
Tailwind
colors: {
  custom: {
    50: '#96bcfa',
    500: '#5aa1f7',
    950: '#000000',
  },
}
SCSS
$custom: #5aa1f7;
$custom-light: #96bcfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa1f7",
  "rgb": {
    "r": 90,
    "g": 161,
    "b": 247
  },
  "hsl": {
    "h": 212.866,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70099,
    "c": 0.14588,
    "h": 254.4
  },
  "luminance": 0.34379
}

Semantic roles & 50–950 ramp

primary
#5AA1F7
secondary
#F0D9BD
accent
#7E00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5AA1F7

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

Preview Lab → · Contrast checker → · Palette generator →

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