#5A9DF1#5A9DF1

#5A9DF1 is a light, vivid cyan. Relative luminance 0.326; OKLCH L 68.9% C 0.142 H 255.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5A9DF1
RGBrgb(90, 157, 241)
HSLhsl(213, 84%, 65%)
HSVhsv(213, 63%, 95%)
CMYKcmyk(62.7%, 34.9%, 0%, 5.5%)
CIE-LABlab(63.86, 4.12, -48.46)
CIE-LCHlch(63.86, 48.64, 274.85°)
OKLaboklab(68.91% -0.0368 -0.1374)
OKLCHoklch(68.91% 0.142 255)
XYZxyz(32.1449, 32.6354, 87.8073)
Luminance0.3264 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9DF1 #F1AE5A
analogous
#5AE9F1 #5A9DF1 #625AF1
triadic
#5A9DF1 #F15A9D #9DF15A
tetradic
#5A9DF1 #F15AE9 #F1AE5A #5AF162
square
#5A9DF1 #F15AE9 #F1AE5A #5AF162
split-complementary
#5A9DF1 #F1625A #E9F15A
monochromatic
#105EC0 #227BEC #5A9DF1 #92BFF6 #CBE0FB

Accessibility & contrast

On white

2.79
#5A9DF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#5A9DF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9DF1
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9DF1#FFFFFF#000000##000000
##5A9DF11.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A3F4
Deuteranopia (green-blind)
#6494EF
Tritanopia (blue-blind)
#00B0BC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5a9df1;
/* rgb */ color: rgb(90, 157, 241);
/* oklch */ color: oklch(68.9% 0.142 255.0);
Tailwind
colors: {
  custom: {
    50: '#95b9f6',
    500: '#5a9df1',
    950: '#000000',
  },
}
SCSS
$custom: #5a9df1;
$custom-light: #95b9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9df1",
  "rgb": {
    "r": 90,
    "g": 157,
    "b": 241
  },
  "hsl": {
    "h": 213.377,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68914,
    "c": 0.14222,
    "h": 255
  },
  "luminance": 0.32638
}

Semantic roles & 50–950 ramp

primary
#5A9DF1
secondary
#EDD6BA
accent
#7F05E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A9DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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