#5A8DC2#5A8DC2

#5A8DC2 is a light, moderate cyan. Relative luminance 0.251; OKLCH L 63.0% C 0.097 H 250.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5A8DC2
RGBrgb(90, 141, 194)
HSLhsl(211, 46%, 56%)
HSVhsv(211, 54%, 76%)
CMYKcmyk(53.6%, 27.3%, 0%, 23.9%)
CIE-LABlab(57.19, -1.76, -32.74)
CIE-LCHlch(57.19, 32.79, 266.93°)
OKLaboklab(62.97% -0.0325 -0.0918)
OKLCHoklch(62.97% 0.097 250.5)
XYZxyz(23.4755, 25.1166, 54.6394)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8DC2 #C28F5A
analogous
#5AC1C2 #5A8DC2 #5B5AC2
triadic
#5A8DC2 #C25A8D #8DC25A
tetradic
#5A8DC2 #C25AC1 #C28F5A #5AC25B
square
#5A8DC2 #C25AC1 #C28F5A #5AC25B
split-complementary
#5A8DC2 #C25B5A #C1C25A
monochromatic
#2C5076 #3C6EA3 #5A8DC2 #87ACD3 #B3CBE3

Accessibility & contrast

On white

3.49
#5A8DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#5A8DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8DC2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8DC2#FFFFFF#000000##000000
##5A8DC21.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#778FC4
Deuteranopia (green-blind)
#6A85C1
Tritanopia (blue-blind)
#1C999F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5a8dc2;
/* rgb */ color: rgb(90, 141, 194);
/* oklch */ color: oklch(63.0% 0.097 250.5);
Tailwind
colors: {
  custom: {
    50: '#8faed4',
    500: '#5a8dc2',
    950: '#000000',
  },
}
SCSS
$custom: #5a8dc2;
$custom-light: #8faed4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8dc2",
  "rgb": {
    "r": 90,
    "g": 141,
    "b": 194
  },
  "hsl": {
    "h": 210.577,
    "s": 46.018,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6297,
    "c": 0.09743,
    "h": 250.5
  },
  "luminance": 0.25118
}

Semantic roles & 50–950 ramp

primary
#5A8DC2
secondary
#D2BCA6
accent
#9552D6
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D1014
muted
#7E7F83

Preview Lab

Preview with #5A8DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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