#5B8FAC#5B8FAC

#5B8FAC is a light, moderate cyan. Relative luminance 0.248; OKLCH L 62.5% C 0.071 H 234.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5B8FAC
RGBrgb(91, 143, 172)
HSLhsl(201, 33%, 52%)
HSVhsv(201, 47%, 67%)
CMYKcmyk(47.1%, 16.9%, 0%, 32.5%)
CIE-LABlab(56.93, -9.30, -20.64)
CIE-LCHlch(56.93, 22.64, 245.74°)
OKLaboklab(62.48% -0.0416 -0.0572)
OKLCHoklch(62.48% 0.071 234)
XYZxyz(21.5806, 24.8460, 42.6803)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8FAC #AC785B
analogous
#5BACA1 #5B8FAC #5B67AC
triadic
#5B8FAC #AC5B8F #8FAC5B
tetradic
#5B8FAC #A15BAC #AC785B #67AC5B
square
#5B8FAC #A15BAC #AC785B #67AC5B
split-complementary
#5B8FAC #AC5B67 #ACA15B
monochromatic
#2F4D5D #446E86 #5B8FAC #84ABC1 #ACC7D5

Accessibility & contrast

On white

3.52
#5B8FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#5B8FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8FAC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8FAC#FFFFFF#000000##000000
##5B8FAC1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#818EAD
Deuteranopia (green-blind)
#7685AC
Tritanopia (blue-blind)
#369798
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b8fac;
/* rgb */ color: rgb(91, 143, 172);
/* oklch */ color: oklch(62.5% 0.071 234.0);
Tailwind
colors: {
  custom: {
    50: '#8eafc4',
    500: '#5b8fac',
    950: '#000000',
  },
}
SCSS
$custom: #5b8fac;
$custom-light: #8eafc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8fac",
  "rgb": {
    "r": 91,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 201.481,
    "s": 32.794,
    "l": 51.569
  },
  "oklch": {
    "l": 0.6248,
    "c": 0.07073,
    "h": 234
  },
  "luminance": 0.24848
}

Semantic roles & 50–950 ramp

primary
#5B8FAC
secondary
#C3ACA0
accent
#855FC9
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0D1012
muted
#7D7F81

Preview Lab

Preview with #5B8FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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