CSS utility

Ice Blue CSS Utilities

Ice Blue CSS utilities provide reusable variables and utility classes for #D6F5FF. 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 Ice Blue #D6F5FF

Utility Classes

Background.bg-ice-blue
Text.text-ice-blue
Border.border-ice-blue
Surface.surface-ice-blue

CSS Snippet

:root {
  --color-ice-blue: #D6F5FF;
  --color-ice-blue-rgb: 214 245 255;
  --color-ice-blue-contrast: #111827;
}

.bg-ice-blue { background-color: var(--color-ice-blue); }
.text-ice-blue { color: var(--color-ice-blue); }
.border-ice-blue { border-color: var(--color-ice-blue); }
.surface-ice-blue {
  background-color: var(--color-ice-blue);
  color: var(--color-ice-blue-contrast);
  border: 1px solid color-mix(in srgb, var(--color-ice-blue), #111827 18%);
}
.shadow-ice-blue { box-shadow: 0 18px 40px rgb(var(--color-ice-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

Best text color#111827
Black contrast18.36:1
White contrast1.14:1
RGB token214 245 255

Machine-readable data

Machine-Readable Ice Blue CSS Utilities (JSON)

Structured CSS utility data for Ice Blue, including variables, utility classes, contrast tokens, WCAG metadata, snippets, and API links.

AI-Ready Dataset v1.0.0
Luminance0.8682
Black text18.36:1AA Pass
White text1.14:1AA Fail
cssVariablesReusable CSS custom properties
utilityClassesBackground, text, border, surface, and shadow classes
bestTextColorAccessible default foreground token
contrastBlack and white contrast ratios
wcagAA and AAA text color options
relatedEndpointsLinked machine-readable resources
Download JSON Open API
Structured sections
CSS variables
{
  "color": "--color-ice-blue: #D6F5FF;",
  "rgb": "--color-ice-blue-rgb: 214 245 255;",
  "contrast": "--color-ice-blue-contrast: #111827;"
}
Utility classes
{
  "background": ".bg-ice-blue",
  "text": ".text-ice-blue",
  "border": ".border-ice-blue",
  "surface": ".surface-ice-blue",
  "shadow": ".shadow-ice-blue"
}
Accessibility
{
  "bestTextColor": "#111827",
  "contrast": {
    "black": 18.36,
    "white": 1.14
  },
  "wcag": {
    "AA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "AAA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  }
}
Implementation
{
  "useCases": [
    "CSS variables",
    "utility classes",
    "design system tokens",
    "UI surface styling",
    "accessible text pairing"
  ],
  "cssSnippet": ":root {\n  --color-ice-blue: #D6F5FF;\n  --color-ice-blue-rgb: 214 245 255;\n  --color-ice-blue-contrast: #111827;\n}\n\n.bg-ice-blue { background-color: var(--color-ice-blue); }\n.text-ice-blue { color: var(--color-ice-blue); }\n.border-ice-blue { border-color: var(--color-ice-blue); }\n.surface-ice-blue {\n  background-color: var(--color-ice-blue);\n  color: var(--color-ice-blue-contrast);\n  border: 1px solid color-mix(in srgb, var(--color-ice-blue), #111827 18%);\n}\n.shadow-ice-blue { box-shadow: 0 18px 40px rgb(var(--color-ice-blue-rgb) / 28%); }"
}
Related endpoints
[
  "https://www.colorsencyclopedia.com/api/css/colors/ice-blue.json",
  "https://www.colorsencyclopedia.com/api/colors/ice-blue.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "ice-blue",
  "name": "Ice Blue",
  "hex": "#D6F5FF",
  "rgb": [
    214,
    245,
    255
  ],
  "hsl": [
    195,
    100,
    92
  ],
  "cmyk": [
    16,
    4,
    0,
    0
  ],
  "luminance": 0.8682,
  "contrast": {
    "black": 18.36,
    "white": 1.14
  },
  "wcag": {
    "AA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "AAA": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  "family": "blue",
  "temperature": "cool",
  "tone": [
    "light",
    "pastel"
  ],
  "bestTextColor": "#111827",
  "cssVariables": {
    "color": "--color-ice-blue: #D6F5FF;",
    "rgb": "--color-ice-blue-rgb: 214 245 255;",
    "contrast": "--color-ice-blue-contrast: #111827;"
  },
  "utilityClasses": {
    "background": ".bg-ice-blue",
    "text": ".text-ice-blue",
    "border": ".border-ice-blue",
    "surface": ".surface-ice-blue",
    "shadow": ".shadow-ice-blue"
  },
  "cssSnippet": ":root {\n  --color-ice-blue: #D6F5FF;\n  --color-ice-blue-rgb: 214 245 255;\n  --color-ice-blue-contrast: #111827;\n}\n\n.bg-ice-blue { background-color: var(--color-ice-blue); }\n.text-ice-blue { color: var(--color-ice-blue); }\n.border-ice-blue { border-color: var(--color-ice-blue); }\n.surface-ice-blue {\n  background-color: var(--color-ice-blue);\n  color: var(--color-ice-blue-contrast);\n  border: 1px solid color-mix(in srgb, var(--color-ice-blue), #111827 18%);\n}\n.shadow-ice-blue { box-shadow: 0 18px 40px rgb(var(--color-ice-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/ice-blue.json",
    "https://www.colorsencyclopedia.com/api/colors/ice-blue.json"
  ],
  "url": "https://www.colorsencyclopedia.com/css/colors/ice-blue/",
  "colorUrl": "https://www.colorsencyclopedia.com/colors/ice-blue/",
  "hexUrl": "https://www.colorsencyclopedia.com/hex/d6f5ff/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/css/colors/ice-blue.json"
}