#5A8FCA#5A8FCA

#5A8FCA is a light, moderate cyan. Relative luminance 0.261; OKLCH L 63.8% C 0.106 H 252.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5A8FCA
RGBrgb(90, 143, 202)
HSLhsl(212, 51%, 57%)
HSVhsv(212, 55%, 79%)
CMYKcmyk(55.4%, 29.2%, 0%, 20.8%)
CIE-LABlab(58.11, -0.40, -35.82)
CIE-LCHlch(58.11, 35.82, 269.36°)
OKLaboklab(63.81% -0.0324 -0.1007)
OKLCHoklch(63.81% 0.106 252.2)
XYZxyz(24.6958, 26.0808, 59.5984)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8FCA #CA955A
analogous
#5AC7CA #5A8FCA #5D5ACA
triadic
#5A8FCA #CA5A8F #8FCA5A
tetradic
#5A8FCA #CA5AC7 #CA955A #5ACA5D
square
#5A8FCA #CA5AC7 #CA955A #5ACA5D
split-complementary
#5A8FCA #CA5D5A #C7CA5A
monochromatic
#295280 #3870AF #5A8FCA #88AED9 #B7CEE8

Accessibility & contrast

On white

3.38
#5A8FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#5A8FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8FCA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8FCA#FFFFFF#000000##000000
##5A8FCA1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7792CD
Deuteranopia (green-blind)
#6887C9
Tritanopia (blue-blind)
#069DA4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a8fca;
/* rgb */ color: rgb(90, 143, 202);
/* oklch */ color: oklch(63.8% 0.106 252.2);
Tailwind
colors: {
  custom: {
    50: '#90afda',
    500: '#5a8fca',
    950: '#000000',
  },
}
SCSS
$custom: #5a8fca;
$custom-light: #90afda;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8fca",
  "rgb": {
    "r": 90,
    "g": 143,
    "b": 202
  },
  "hsl": {
    "h": 211.607,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63812,
    "c": 0.10581,
    "h": 252.2
  },
  "luminance": 0.26083
}

Semantic roles & 50–950 ramp

primary
#5A8FCA
secondary
#D7C1A9
accent
#984DDB
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5A8FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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