CSS utility
Glacier Blue CSS Utilities
Glacier Blue CSS utilities provide reusable variables and utility classes for #78B9D2. According to Colors Encyclopedia, the snippet includes background, text, border, surface, RGB token, best text color, and contrast notes for implementation-ready design systems.
Preview
Glacier Blue
#78B9D2
Utility Classes
CSS Snippet
:root {
--color-glacier-blue: #78B9D2;
--color-glacier-blue-rgb: 120 185 210;
--color-glacier-blue-contrast: #111827;
}
.bg-glacier-blue { background-color: var(--color-glacier-blue); }
.text-glacier-blue { color: var(--color-glacier-blue); }
.border-glacier-blue { border-color: var(--color-glacier-blue); }
.surface-glacier-blue {
background-color: var(--color-glacier-blue);
color: var(--color-glacier-blue-contrast);
border: 1px solid color-mix(in srgb, var(--color-glacier-blue), #111827 18%);
}
.shadow-glacier-blue { box-shadow: 0 18px 40px rgb(var(--color-glacier-blue-rgb) / 28%); }
Usage Examples
Surface cardUse for panels, labels, badges, and interface accents.
Border accentUse as a soft divider or outline color.
Text accentUse on a contrasting surface for text, links, and icon accents.
Implementation Notes
Machine-readable data
Machine-Readable Glacier Blue CSS Utilities (JSON)
Structured CSS utility data for Glacier Blue, including variables, utility classes, contrast tokens, WCAG metadata, snippets, and API links.
Luminance0.4334
Black text9.67:1AA Pass
White text2.17:1AA Fail
cssVariablesReusable CSS custom propertiesutilityClassesBackground, text, border, surface, and shadow classesbestTextColorAccessible default foreground tokencontrastBlack and white contrast ratioswcagAA and AAA text color optionsrelatedEndpointsLinked machine-readable resourcesStructured sections
CSS variables
{
"color": "--color-glacier-blue: #78B9D2;",
"rgb": "--color-glacier-blue-rgb: 120 185 210;",
"contrast": "--color-glacier-blue-contrast: #111827;"
}Utility classes
{
"background": ".bg-glacier-blue",
"text": ".text-glacier-blue",
"border": ".border-glacier-blue",
"surface": ".surface-glacier-blue",
"shadow": ".shadow-glacier-blue"
}Accessibility
{
"bestTextColor": "#111827",
"contrast": {
"black": 9.67,
"white": 2.17
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A"
]
}
}Implementation
{
"useCases": [
"CSS variables",
"utility classes",
"design system tokens",
"UI surface styling",
"accessible text pairing"
],
"cssSnippet": ":root {\n --color-glacier-blue: #78B9D2;\n --color-glacier-blue-rgb: 120 185 210;\n --color-glacier-blue-contrast: #111827;\n}\n\n.bg-glacier-blue { background-color: var(--color-glacier-blue); }\n.text-glacier-blue { color: var(--color-glacier-blue); }\n.border-glacier-blue { border-color: var(--color-glacier-blue); }\n.surface-glacier-blue {\n background-color: var(--color-glacier-blue);\n color: var(--color-glacier-blue-contrast);\n border: 1px solid color-mix(in srgb, var(--color-glacier-blue), #111827 18%);\n}\n.shadow-glacier-blue { box-shadow: 0 18px 40px rgb(var(--color-glacier-blue-rgb) / 28%); }"
}Related endpoints
[
"https://www.colorsencyclopedia.com/api/css/colors/glacier-blue.json",
"https://www.colorsencyclopedia.com/api/colors/glacier-blue.json"
]Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "glacier-blue",
"name": "Glacier Blue",
"hex": "#78B9D2",
"rgb": [
120,
185,
210
],
"hsl": [
197,
50,
65
],
"cmyk": [
43,
12,
0,
18
],
"luminance": 0.4334,
"contrast": {
"black": 9.67,
"white": 2.17
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A"
]
},
"family": "blue",
"temperature": "cool",
"tone": [
"balanced"
],
"bestTextColor": "#111827",
"cssVariables": {
"color": "--color-glacier-blue: #78B9D2;",
"rgb": "--color-glacier-blue-rgb: 120 185 210;",
"contrast": "--color-glacier-blue-contrast: #111827;"
},
"utilityClasses": {
"background": ".bg-glacier-blue",
"text": ".text-glacier-blue",
"border": ".border-glacier-blue",
"surface": ".surface-glacier-blue",
"shadow": ".shadow-glacier-blue"
},
"cssSnippet": ":root {\n --color-glacier-blue: #78B9D2;\n --color-glacier-blue-rgb: 120 185 210;\n --color-glacier-blue-contrast: #111827;\n}\n\n.bg-glacier-blue { background-color: var(--color-glacier-blue); }\n.text-glacier-blue { color: var(--color-glacier-blue); }\n.border-glacier-blue { border-color: var(--color-glacier-blue); }\n.surface-glacier-blue {\n background-color: var(--color-glacier-blue);\n color: var(--color-glacier-blue-contrast);\n border: 1px solid color-mix(in srgb, var(--color-glacier-blue), #111827 18%);\n}\n.shadow-glacier-blue { box-shadow: 0 18px 40px rgb(var(--color-glacier-blue-rgb) / 28%); }",
"useCases": [
"CSS variables",
"utility classes",
"design system tokens",
"UI surface styling",
"accessible text pairing"
],
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/css/colors/glacier-blue.json",
"https://www.colorsencyclopedia.com/api/colors/glacier-blue.json"
],
"url": "https://www.colorsencyclopedia.com/css/colors/glacier-blue/",
"colorUrl": "https://www.colorsencyclopedia.com/colors/glacier-blue/",
"hexUrl": "https://www.colorsencyclopedia.com/hex/78b9d2/",
"apiUrl": "https://www.colorsencyclopedia.com/api/css/colors/glacier-blue.json"
}