#5AA5F2#5AA5F2

#5AA5F2 is a light, vivid cyan. Relative luminance 0.355; OKLCH L 70.7% C 0.136 H 250.9°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5AA5F2
RGBrgb(90, 165, 242)
HSLhsl(210, 85%, 65%)
HSVhsv(210, 63%, 95%)
CMYKcmyk(62.8%, 31.8%, 0%, 5.1%)
CIE-LABlab(66.13, -0.14, -45.44)
CIE-LCHlch(66.13, 45.44, 269.82°)
OKLaboklab(70.7% -0.0446 -0.1285)
OKLCHoklch(70.7% 0.136 250.9)
XYZxyz(33.6927, 35.4915, 89.0621)
Luminance0.3549 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA5F2 #F2A75A
analogous
#5AF1F2 #5AA5F2 #5B5AF2
triadic
#5AA5F2 #F25AA5 #A5F25A
tetradic
#5AA5F2 #F25AF1 #F2A75A #5AF25B
square
#5AA5F2 #F25AF1 #F2A75A #5AF25B
split-complementary
#5AA5F2 #F25B5A #F1F25A
monochromatic
#0F68C2 #2186EE #5AA5F2 #93C4F6 #CBE3FB

Accessibility & contrast

On white

2.59
#5AA5F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#5AA5F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA5F2
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA5F2#FFFFFF#000000##000000
##5AA5F21.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F5
Deuteranopia (green-blind)
#6F9AF0
Tritanopia (blue-blind)
#00B7C1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5aa5f2;
/* rgb */ color: rgb(90, 165, 242);
/* oklch */ color: oklch(70.7% 0.136 250.9);
Tailwind
colors: {
  custom: {
    50: '#96bff6',
    500: '#5aa5f2',
    950: '#000000',
  },
}
SCSS
$custom: #5aa5f2;
$custom-light: #96bff6;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa5f2",
  "rgb": {
    "r": 90,
    "g": 165,
    "b": 242
  },
  "hsl": {
    "h": 210.395,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70702,
    "c": 0.13599,
    "h": 250.9
  },
  "luminance": 0.35495
}

Semantic roles & 50–950 ramp

primary
#5AA5F2
secondary
#EED4BA
accent
#7404E2
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1217
muted
#7E8185

Preview Lab

Preview with #5AA5F2

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

Preview Lab → · Contrast checker → · Palette generator →

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