#5291AC#5291AC

#5291AC is a light, moderate cyan. Relative luminance 0.250; OKLCH L 62.5% C 0.077 H 227.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5291AC
RGBrgb(82, 145, 172)
HSLhsl(198, 35%, 50%)
HSVhsv(198, 52%, 67%)
CMYKcmyk(52.3%, 15.7%, 0%, 32.5%)
CIE-LABlab(57.10, -12.57, -20.41)
CIE-LCHlch(57.10, 23.97, 238.39°)
OKLaboklab(62.5% -0.0515 -0.0566)
OKLCHoklch(62.5% 0.077 227.7)
XYZxyz(21.0487, 25.0214, 42.7421)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5291AC #AC6D52
analogous
#52AC9A #5291AC #5264AC
triadic
#5291AC #AC5291 #91AC52
tetradic
#5291AC #9A52AC #AC6D52 #64AC52
square
#5291AC #9A52AC #AC6D52 #64AC52
split-complementary
#5291AC #AC5264 #AC9A52
monochromatic
#2A4B59 #3E6E83 #5291AC #7BABC0 #A5C6D4

Accessibility & contrast

On white

3.50
#5291AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#5291AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5291AC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5291AC#FFFFFF#000000##000000
##5291AC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#838FAD
Deuteranopia (green-blind)
#7685AC
Tritanopia (blue-blind)
#1A999A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5291ac;
/* rgb */ color: rgb(82, 145, 172);
/* oklch */ color: oklch(62.5% 0.077 227.7);
Tailwind
colors: {
  custom: {
    50: '#89b1c4',
    500: '#5291ac',
    950: '#000000',
  },
}
SCSS
$custom: #5291ac;
$custom-light: #89b1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5291ac",
  "rgb": {
    "r": 82,
    "g": 145,
    "b": 172
  },
  "hsl": {
    "h": 198,
    "s": 35.433,
    "l": 49.804
  },
  "oklch": {
    "l": 0.62501,
    "c": 0.07657,
    "h": 227.7
  },
  "luminance": 0.25023
}

Semantic roles & 50–950 ramp

primary
#5291AC
secondary
#C1A599
accent
#7E5CCB
background
#F8FAFC
surface
#F0F5F8
border
#CBCFD1
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #5291AC

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

Preview Lab → · Contrast checker → · Palette generator →

#5291AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva