Nearest named color · #F5F8FF
#F5F8FF
Nearest named color: Cotton Ball
#F5F8FF (rgb(245 248 255), hsl(222 100% 98%), oklch(0.979 0.01 267.4)) is closest to the named color Cotton Ball. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#F5F8FF
oklch(0.979 0.01 267.4)
Color conversions
- HEX
- #f5f8ff
- RGB
- rgb(245 248 255)
- HSL
- hsl(222 100% 98%)
- HWB
- hwb(222 96% 0%)
- OKLCH
- oklch(0.979 0.01 267.4)
- OKLab
- oklab(0.979 0 -0.01)
- CIE Lab
- lab(97.5 -0.09 -3.73)
- LCH
- lch(97.5 3.73 268.7)
- CMYK
- cmyk(4% 3% 0% 0%)
Tints · Shades · Tones
Tints
- F6F9FF
- F7F9FF
- F8FAFF
- F9FBFF
- FAFCFF
- FBFCFF
- FCFDFF
- FDFEFF
- FEFEFF
Shades
- D5D8DE
- B6B8BE
- 989A9E
- 7B7C80
- 5F6063
- 444548
- 2B2C2E
- 151516
- 030303
Tones
- E9EBF2
- DDDFE4
- D0D3D7
- C5C6CA
- B9BABE
- ADAEB1
- A2A2A4
- 969798
- 8B8B8C
Color harmonies
Complementary +180°
- F5F8FF
Cotton Ball
- FBF8F1
≈ Milk Jug
Analogous -30° +30°
- F5F8FF
Cotton Ball
- F2F9FE
≈ Alice Blue
- F9F7FE
≈ Ghost White
Triadic +120° +240°
- F5F8FF
Cotton Ball
- FFF6F4
≈ Coy
- F4FAF4
≈ Blanca Peak
Split-complementary +150° +210°
- F5F8FF
Cotton Ball
- FEF7F2
≈ Sugar Milk
- F7F9F2
≈ Pure White
Tetradic +90° +180° +270°
- F5F8FF
Cotton Ball
- FEF5F8
≈ Sea Salt Sherbet
- FBF8F1
≈ Milk Jug
- F2FAF8
≈ Distant Horizon
Contrast & accessibility
Ag
FailOn white
WCAG 1.06:1 · APCA Lc 0
Ag
AAAOn black
WCAG 19.75:1 · APCA Lc 103
Best text color: #000000
WCAG 19.75:1 (AAA) · APCA Lc 103
Contrast pairs
Code snippets
CSS
:root {
--cotton-ball: #f5f8ff;
--cotton-ball-rgb: 245 248 255;
--cotton-ball-oklch: oklch(0.979 0.01 267.4);
}
.element {
color: var(--cotton-ball);
background-color: hsl(222 100% 98%);
border-color: oklch(0.979 0.01 267.4);
}Tailwind CSS v4
@theme {
--color-cotton-ball: #f5f8ff;
--color-cotton-ball-50: #f4f5f8;
--color-cotton-ball-100: #e6e8eb;
--color-cotton-ball-200: #d2d4d8;
--color-cotton-ball-300: #b5b7bd;
--color-cotton-ball-400: #9c9ea4;
--color-cotton-ball-500: #83868d;
--color-cotton-ball-600: #6f7177;
--color-cotton-ball-700: #595b5f;
--color-cotton-ball-800: #414246;
--color-cotton-ball-900: #2d2e30;
--color-cotton-ball-950: #1a1b1d;
}SCSS
$cotton-ball: #f5f8ff;
$cotton-ball-rgb: 245, 248, 255;
$cotton-ball-light: mix(#fff, $cotton-ball, 20%);
$cotton-ball-dark: mix(#000, $cotton-ball, 20%);
.element {
color: $cotton-ball;
box-shadow: 0 0 0 2px rgba($cotton-ball, 0.35);
}