#5A8EA5#5A8EA5

#5A8EA5 is a mid, moderate cyan. Relative luminance 0.242; OKLCH L 61.9% C 0.065 H 227.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5A8EA5
RGBrgb(90, 142, 165)
HSLhsl(198, 29%, 50%)
HSVhsv(198, 45%, 65%)
CMYKcmyk(45.5%, 13.9%, 0%, 35.3%)
CIE-LABlab(56.32, -11.01, -17.56)
CIE-LCHlch(56.32, 20.73, 237.91°)
OKLaboklab(61.9% -0.0439 -0.0485)
OKLCHoklch(61.9% 0.065 227.8)
XYZxyz(20.6786, 24.2348, 39.1781)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8EA5 #A5715A
analogous
#5AA597 #5A8EA5 #5A68A5
triadic
#5A8EA5 #A55A8E #8EA55A
tetradic
#5A8EA5 #975AA5 #A5715A #68A55A
square
#5A8EA5 #975AA5 #A5715A #68A55A
split-complementary
#5A8EA5 #A55A68 #A5975A
monochromatic
#2F4A56 #446C7D #5A8EA5 #82A9BB #A9C4D0

Accessibility & contrast

On white

3.59
#5A8EA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#5A8EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8EA5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8EA5#FFFFFF#000000##000000
##5A8EA51.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#828CA6
Deuteranopia (green-blind)
#7783A5
Tritanopia (blue-blind)
#399595
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5a8ea5;
/* rgb */ color: rgb(90, 142, 165);
/* oklch */ color: oklch(61.9% 0.065 227.8);
Tailwind
colors: {
  custom: {
    50: '#8dafbf',
    500: '#5a8ea5',
    950: '#000000',
  },
}
SCSS
$custom: #5a8ea5;
$custom-light: #8dafbf;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8ea5",
  "rgb": {
    "r": 90,
    "g": 142,
    "b": 165
  },
  "hsl": {
    "h": 198.4,
    "s": 29.412,
    "l": 50
  },
  "oklch": {
    "l": 0.61902,
    "c": 0.06543,
    "h": 227.8
  },
  "luminance": 0.24236
}

Semantic roles & 50–950 ramp

primary
#5A8EA5
secondary
#BEA79D
accent
#8162C6
background
#F8FAFB
surface
#F0F4F7
border
#CBCED0
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #5A8EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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