首页风格模板
StyleKit
风格库模板
Colors/#0a2540

#0a2540

#0a2540 converts to rgb(10, 37, 64) and hsl(210, 73%, 15%). Its nearest Tailwind CSS token is slate-800 and it appears in one curated design style in the StyleKit library.

01

Conversions

02

WCAG contrast

BackgroundRatioAA textAA largeAAA text
white15.54:1passpasspass
black1.35:1failfailfail
slate-9001.15:1failfailfail
gray-10014.12:1passpasspass

Ratios are computed from WCAG 2.x relative luminance. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1.

03

Design styles using this color

  • Stripe Stylesecondary · modern→
04

Tints and shades

#b4d3f3#68a8e7#227cd7#16518b#081e33#061626#040f1a#02070d

Lightness ladder in HSL space, from the lightest tint to the darkest shade of #0a2540.

05

Similar colors in the library

#1a2744#1e293b#1c2530#1a1a3e#1f2933#1a1c2c#1e1b4b#1a1a2e

Nearest swatches by perceptual OKLab distance across all curated style palettes.

06

AI prompt snippet

Use #0a2540 as the secondary color, following the Stripe Style style: rgb(10, 37, 64), nearest Tailwind token slate-800. Keep text contrast at least 4.5:1 (this color scores 15.54:1 on white, 1.35:1 on black).

Paste this into ChatGPT, Claude, Cursor, or v0 to use #0a2540 with correct contrast constraints. Browse all palette colors.

StyleKit

精选网页设计风格库,帮助 AI 生成更好看的网站。

反馈建议支持维护
浏览+
风格库模板动效资源库提示词库主题合集
学习与更新+
前端基础指南配方更新日志博客
关于与政策+
关于联系与支持隐私政策服务条款支持我们退款政策

(c) 2026 StyleKit. 开源项目。

闄旾CP澶?025065501鍙?3

刊末信息/SK — 2026

基于 Editorial 风格构建

01反馈与建议告诉我们哪里还可以更好02支持维护如果 StyleKit 恰好帮到了你,欢迎扫码支持。金额随意,每一份心意我都很感谢。

StyleKit

精选网页设计风格库,帮助 AI 生成更好看的网站。

GitHub 仓库

浏览

风格库模板动效资源库提示词库主题合集

学习与动态

前端基础指南配方更新日志博客

订阅动态

新风格、模板与工具上线时,第一时间收到通知。

保持更新

订阅即表示您同意我们的 隐私政策 和 服务条款。

(c) 2026 StyleKit. 开源项目。

关于联系与支持隐私政策服务条款支持我们退款政策/陕ICP备2025065501号-3

StyleKit