#5A9FE5#5A9FE5

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

Color values

HEX#5A9FE5
RGBrgb(90, 159, 229)
HSLhsl(210, 73%, 63%)
HSVhsv(210, 61%, 90%)
CMYKcmyk(60.7%, 30.6%, 0%, 10.2%)
CIE-LABlab(63.86, -0.95, -41.87)
CIE-LCHlch(63.86, 41.89, 268.70°)
OKLaboklab(68.72% -0.042 -0.1182)
OKLCHoklch(68.72% 0.125 250.4)
XYZxyz(30.7523, 32.6242, 78.7900)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9FE5 #E5A05A
analogous
#5AE4E5 #5A9FE5 #5B5AE5
triadic
#5A9FE5 #E55A9F #9FE55A
tetradic
#5A9FE5 #E55AE4 #E5A05A #5AE55B
square
#5A9FE5 #E55AE4 #E5A05A #5AE55B
split-complementary
#5A9FE5 #E55B5A #E4E55A
monochromatic
#1B62AA #2580DD #5A9FE5 #8FBEED #C4DDF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A9FE5#FFFFFF#000000##000000
##5A9FE51.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)
#81A2E8
Deuteranopia (green-blind)
#6E95E4
Tritanopia (blue-blind)
#00AFB8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5a9fe5;
/* rgb */ color: rgb(90, 159, 229);
/* oklch */ color: oklch(68.7% 0.125 250.4);
Tailwind
colors: {
  custom: {
    50: '#94bbed',
    500: '#5a9fe5',
    950: '#000000',
  },
}
SCSS
$custom: #5a9fe5;
$custom-light: #94bbed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9fe5",
  "rgb": {
    "r": 90,
    "g": 159,
    "b": 229
  },
  "hsl": {
    "h": 210.216,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68721,
    "c": 0.12541,
    "h": 250.4
  },
  "luminance": 0.32627
}

Semantic roles & 50–950 ramp

primary
#5A9FE5
secondary
#E7CEB4
accent
#7311D5
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5A9FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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