CSS utility
Pastel Blue CSS Utilities
Pastel Blue CSS utilities for #AEC6CF: copy variables and classes for backgrounds, text, borders and surfaces, with RGB tokens and contrast guidance.
Preview
Pastel Blue
#AEC6CF
Utility Classes
CSS Snippet
:root {
--color-pastel-blue: #AEC6CF;
--color-pastel-blue-rgb: 174 198 207;
--color-pastel-blue-contrast: #111827;
}
.bg-pastel-blue { background-color: var(--color-pastel-blue); }
.text-pastel-blue { color: var(--color-pastel-blue); }
.border-pastel-blue { border-color: var(--color-pastel-blue); }
.surface-pastel-blue {
background-color: var(--color-pastel-blue);
color: var(--color-pastel-blue-contrast);
border: 1px solid color-mix(in srgb, var(--color-pastel-blue), #111827 18%);
}
.shadow-pastel-blue { box-shadow: 0 18px 40px rgb(var(--color-pastel-blue-rgb) / 28%); }
Usage Examples
Surface cardPastel Blue uses #111827 as its stronger standard foreground at 11.78:1.
Border accentUse #AEC6CF as a cool blue outline, divider, or interface accent.
Text accentPlace #AEC6CF on a checked contrasting surface before using it for text, links, or icons.
Implementation Notes
Machine-readable data
Machine-Readable Pastel Blue CSS Utilities (JSON)
Structured CSS utility data for Pastel Blue, including variables, utility classes, contrast tokens, WCAG metadata, snippets, and API links.
Luminance0.5389
Black text11.78:1AA Pass
White text1.78: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-pastel-blue: #AEC6CF;",
"rgb": "--color-pastel-blue-rgb: 174 198 207;",
"contrast": "--color-pastel-blue-contrast: #111827;"
}Utility classes
{
"background": ".bg-pastel-blue",
"text": ".text-pastel-blue",
"border": ".border-pastel-blue",
"surface": ".surface-pastel-blue",
"shadow": ".shadow-pastel-blue"
}Accessibility
{
"bestTextColor": "#111827",
"contrast": {
"black": 11.78,
"white": 1.78
},
"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-pastel-blue: #AEC6CF;\n --color-pastel-blue-rgb: 174 198 207;\n --color-pastel-blue-contrast: #111827;\n}\n\n.bg-pastel-blue { background-color: var(--color-pastel-blue); }\n.text-pastel-blue { color: var(--color-pastel-blue); }\n.border-pastel-blue { border-color: var(--color-pastel-blue); }\n.surface-pastel-blue {\n background-color: var(--color-pastel-blue);\n color: var(--color-pastel-blue-contrast);\n border: 1px solid color-mix(in srgb, var(--color-pastel-blue), #111827 18%);\n}\n.shadow-pastel-blue { box-shadow: 0 18px 40px rgb(var(--color-pastel-blue-rgb) / 28%); }"
}Related endpoints
[
"https://www.colorsencyclopedia.com/api/css/colors/pastel-blue.json",
"https://www.colorsencyclopedia.com/api/colors/pastel-blue.json"
]Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "pastel-blue",
"name": "Pastel Blue",
"hex": "#AEC6CF",
"rgb": [
174,
198,
207
],
"hsl": [
196,
26,
75
],
"cmyk": [
16,
4,
0,
19
],
"luminance": 0.5389,
"contrast": {
"black": 11.78,
"white": 1.78
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A"
]
},
"family": "blue",
"temperature": "cool",
"tone": [
"muted"
],
"bestTextColor": "#111827",
"cssVariables": {
"color": "--color-pastel-blue: #AEC6CF;",
"rgb": "--color-pastel-blue-rgb: 174 198 207;",
"contrast": "--color-pastel-blue-contrast: #111827;"
},
"utilityClasses": {
"background": ".bg-pastel-blue",
"text": ".text-pastel-blue",
"border": ".border-pastel-blue",
"surface": ".surface-pastel-blue",
"shadow": ".shadow-pastel-blue"
},
"cssSnippet": ":root {\n --color-pastel-blue: #AEC6CF;\n --color-pastel-blue-rgb: 174 198 207;\n --color-pastel-blue-contrast: #111827;\n}\n\n.bg-pastel-blue { background-color: var(--color-pastel-blue); }\n.text-pastel-blue { color: var(--color-pastel-blue); }\n.border-pastel-blue { border-color: var(--color-pastel-blue); }\n.surface-pastel-blue {\n background-color: var(--color-pastel-blue);\n color: var(--color-pastel-blue-contrast);\n border: 1px solid color-mix(in srgb, var(--color-pastel-blue), #111827 18%);\n}\n.shadow-pastel-blue { box-shadow: 0 18px 40px rgb(var(--color-pastel-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/pastel-blue.json",
"https://www.colorsencyclopedia.com/api/colors/pastel-blue.json"
],
"url": "https://www.colorsencyclopedia.com/css/colors/pastel-blue/",
"colorUrl": "https://www.colorsencyclopedia.com/colors/pastel-blue/",
"hexUrl": "https://www.colorsencyclopedia.com/hex/aec6cf/",
"apiUrl": "https://www.colorsencyclopedia.com/api/css/colors/pastel-blue.json"
}