#5ba0af
a balanced, soft cyan · cool · closest name: Cadet Blue
At a glance
Every number on this page in one read: what #5ba0af is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #5ba0af |
| RGB | rgb(91, 160, 175) |
| HSL | hsl(191, 34%, 52%) |
| CMYK | cmyk(48%, 9%, 0%, 31%) |
| LAB | lab(62.0 -17.7 -14.6) |
| LCH | lch(62.0 22.9 219.4) |
| OKLCH | oklch(0.666 0.073 213.3) |
| Decimal | 6004911 |
| Display P3 | color(display-p3 0.357 0.627 0.686) |
Copy-ready code
/* CSS */
color: #5ba0af;
background-color: #5ba0af;
/* Tailwind (arbitrary) */
class="text-[#5ba0af] bg-[#5ba0af]"
/* SCSS */
$brand: #5ba0af;
/* SwiftUI */
Color(red: 0.357, green: 0.627, blue: 0.686)
/* Android */
Color.parseColor("#5ba0af")
/* Flutter */
Color(0xFF5BA0AF)
/* Python / OpenCV (BGR) */
(175, 160, 91)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #5ba0af is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F5F9F9;
--brand-100: #ECF2F4;
--brand-200: #D4E4E8;
--brand-300: #B4D3DA;
--brand-400: #8EBDC8;
--brand-500: #5ba0af;
--brand-600: #5095A5;
--brand-700: #437D89;
--brand-800: #36646E;
--brand-900: #2A4A51;
--brand-950: #1A2E32;
--brand: #5ba0af;
--brand-ink: #000000;
}Colors that work with #5ba0af
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #5ba0af
Derived from its contrast, chroma and lightness — not from taste.
- ✓Text and icons on dark surfaces
- ✓Charts, tags and secondary surfaces
- ✓Brand accents, badges and data highlights
- ⚠Text of any size on white — fails WCAG AA
- ⚠Thin strokes and 1px borders — they disappear on light UI
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #AF6A5B | Directly opposite — maximum tension | |
| Analogous left | #5BAF94 | Neighbour, quieter | |
| Analogous right | #5B76AF | Neighbour, quieter | |
| Split-complement 1 | #AF5B76 | Contrast without the clash | |
| Split-complement 2 | #AF945B | Contrast without the clash | |
| Triadic 1 | #AF5BA0 | Even thirds — balanced and loud | |
| Triadic 2 | #A0AF5B | Even thirds — balanced and loud | |
| Tetradic | #945BAF | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#5ba0af text on a black background
contrast 7.09:1
#5ba0af text on a white background
contrast 2.96:1
CSS3 live lab
The quick brown fox
color: #5ba0af;
background-color: #5ba0af;
Glowing headline
text-shadow: 2px 2px 8px #5ba0af;
Soft neon halo
text-shadow: 0 0 14px rgba(91, 160, 175, 0.45);
box-shadow: 0 12px 32px -8px rgba(91, 160, 175, 0.45);
border: 3px solid #5ba0af; background: linear-gradient(135deg, #5ba0af, #5B68AF);
Monochromatic scale
Palettes built from #5ba0af
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Sky Blue (#87ceeb) — ΔE2000 14 away, with its history, psychology and brand usage.
#5ba0af in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#5ba0af, answered
What color is #5ba0af?
#5ba0af is a balanced soft cyan, closest to Cadet Blue (ΔE2000 5.3). It sits at 191° on the hue wheel with 34% saturation and 52% lightness, which reads as cool.
What is the RGB value of #5ba0af?
rgb(91, 160, 175) — 91 red, 160 green and 175 blue out of 255, or 35.7% / 62.7% / 68.6% by channel.
Is #5ba0af a light or a dark color?
It is a mid-tone. Relative luminance is 0.3046 and perceived brightness is 57%, so black text on it reaches 7.09:1.
Should I use black or white text on #5ba0af?
Black. It scores 7.09:1 against #5ba0af, versus 2.96:1 for white — AAA at any size.
What is the complementary color of #5ba0af?
#AF6A5B sits directly opposite on the wheel. Softer options are the split-complements #AF5B76 and #AF945B, which give the same contrast with far less vibration.
What colors go well with #5ba0af?
For interface work: #F5F9FA as the surface, #C8DFE4 for borders, #4B8C9A for secondary text, #B4565D as an accent and #2A4E56 for hover and pressed states. For a palette, the analogous pair #5BAF94 and #5B76AF stays calm, while #AF6A5B is the loudest partner.
What is #5ba0af in CMYK for printing?
cmyk(48%, 9%, 0%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #5ba0af warm or cool?
Cool — it scores 91 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5BAF9F; nudged cooler, #598CB1.