Palette · 8 colors · Lc 9.4
Starstruck Fog palette
Starstruck Fog: a 8-color palette (Violet, Cold, Monochromatic, 8 Colors). HEX, RGB, HSL and OKLCH for #040C18, #122340, #28456E, #42629E, #5B84C0, #8EACE1, #C0D0EB, #E3ECF9, WCAG contrast on white and black, plus CSS variables, Tailwind and JSON export.
- Violet
- Cold
- Monochromatic
- 8 Colors
bg
#040C18
surface
#122340
muted
#28456E
primary
#42629E
secondary
#5B84C0
accent
#8EACE1
highlight
#C0D0EB
text
#E3ECF9
Colors in Starstruck Fog: HEX, RGB, HSL & OKLCH
- #040C18 color page →
bg
#040C18
- RGB
- rgb(4 12 24)
- HSL
- hsl(216 71% 5%)
- OKLCH
- oklch(0.153 0.03 254.8)
WCAG contrast: on white 19.60:1 (AAA) · on black 1.07:1 (Fail)
- #122340 color page →
surface
#122340
- RGB
- rgb(18 35 64)
- HSL
- hsl(218 56% 16%)
- OKLCH
- oklch(0.258 0.059 260.4)
WCAG contrast: on white 15.66:1 (AAA) · on black 1.34:1 (Fail)
- #28456E color page →
muted
#28456E
- RGB
- rgb(40 69 110)
- HSL
- hsl(215 47% 29%)
- OKLCH
- oklch(0.389 0.078 257.2)
WCAG contrast: on white 9.69:1 (AAA) · on black 2.16:1 (Fail)
- #42629E color page →
primary
#42629E
- RGB
- rgb(66 98 158)
- HSL
- hsl(219 41% 44%)
- OKLCH
- oklch(0.5 0.103 262)
WCAG contrast: on white 6.04:1 (AA) · on black 3.47:1 (Fail)
- #5B84C0 color page →
secondary
#5B84C0
- RGB
- rgb(91 132 192)
- HSL
- hsl(216 44% 55%)
- OKLCH
- oklch(0.609 0.103 257.8)
WCAG contrast: on white 3.81:1 (Fail) · on black 5.50:1 (AA)
- #8EACE1 color page →
accent
#8EACE1
- RGB
- rgb(142 172 225)
- HSL
- hsl(218 58% 72%)
- OKLCH
- oklch(0.742 0.084 261.6)
WCAG contrast: on white 2.29:1 (Fail) · on black 9.13:1 (AAA)
- #C0D0EB color page →
highlight
#C0D0EB
- RGB
- rgb(192 208 235)
- HSL
- hsl(218 52% 84%)
- OKLCH
- oklch(0.854 0.042 260.9)
WCAG contrast: on white 1.55:1 (Fail) · on black 13.46:1 (AAA)
- #E3ECF9 color page →
text
#E3ECF9
- RGB
- rgb(227 236 249)
- HSL
- hsl(215 65% 93%)
- OKLCH
- oklch(0.94 0.02 257.5)
WCAG contrast: on white 1.19:1 (Fail) · on black 17.63:1 (AAA)
Export Starstruck Fog: CSS variables, Tailwind & JSON
CSS variables
:root {
--bg: #040c18;
--surface: #122340;
--muted: #28456e;
--primary: #42629e;
--secondary: #5b84c0;
--accent: #8eace1;
--highlight: #c0d0eb;
--text: #e3ecf9;
}Tailwind CSS v4 @theme
@theme {
--color-bg: #040c18;
--color-surface: #122340;
--color-muted: #28456e;
--color-primary: #42629e;
--color-secondary: #5b84c0;
--color-accent: #8eace1;
--color-highlight: #c0d0eb;
--color-text: #e3ecf9;
}JSON (DTCG tokens)
{
"starstruck-fog-7j3": {
"bg": {
"$type": "color",
"$value": "#040c18"
},
"surface": {
"$type": "color",
"$value": "#122340"
},
"muted": {
"$type": "color",
"$value": "#28456e"
},
"primary": {
"$type": "color",
"$value": "#42629e"
},
"secondary": {
"$type": "color",
"$value": "#5b84c0"
},
"accent": {
"$type": "color",
"$value": "#8eace1"
},
"highlight": {
"$type": "color",
"$value": "#c0d0eb"
},
"text": {
"$type": "color",
"$value": "#e3ecf9"
}
}
}About this palette
Starstruck Fog is a 8-color OKLCH-ready palette tagged violet, cold, monochromatic, 8 colors. Hex values: #040C18, #122340, #28456E, #42629E, #5B84C0, #8EACE1, #C0D0EB, #E3ECF9. APCA contrast score Lc 9.4. Open it in Colorise Pro Studio to lock roles and regenerate harmonies.
Related palettes
Shared tags, similar size and contrast.
Palettes with similar colors
Closest to Starstruck Fog by OKLab color distance.